For more information, according to Apple's documentation - https://developer.apple.com/documentation/fileprovider/macos_support/synchronizing_the_file_provider_extension?language=objc, it says that "The system can also convert dataless copies to materialized copies, as needed. For example, if the user opens a dataless file, the system calls fetchContentsForItemWithIdentifier:version:request:completionHandler: and saves the file’s content. For a dataless folder, the system calls enumeratorForContainerItemIdentifier:request:error: to enumerate the folder’s content.", fetchContents should be called when I open the file but it seems not work.
Topic:
App & System Services
SubTopic:
Core OS
Tags: