I had the same issue recently and found the answer within createItem() 🙂
https://developer.apple.com/documentation/fileprovider/nsfileproviderreplicatedextension/3656549-createitem
When you are returning the completionHandler, you'll find a boolean option to fetch the content from remote.
Simply returning false will not trigger the fetchContents() anymore.
If you are returning a specific type of error along with the successful completionHandler, there is a chance that you'll trigger fetchContents() again which i assume not to be the case here.
Topic:
App & System Services
SubTopic:
Core OS
Tags: