Post

Replies

Boosts

Views

Activity

Reply to Getting "No valid file provider found with identifier"
Hi, I always meet this error! Unfortunately the Apple dox skip the point about setting the various .entitlements / .plist files settings so I’m completely lost about. I don’t post here because as usual this forum is deserted by everybody, Apple engineers first! If you have any clue or you solved the issue pls let me know; I’ll write a post on my blog for future reference if somebody else needs help.
Oct ’24
Reply to "Unable to find file provider extension with identifier" error
Hi, the NSExtensionFileProviderDocumentGroup on Info.plist has been inserted automatically by xcode; once removed it worked; however now I have the problem that I cannot use any debug tool for the extension! Breakpoint doesn’t work and also logging with: let defaultLog = Logger() defaultLog.log("Test message for logging!") Logs only on the main app but don’t produce anything starting from the extension! Is this regular? How can I proceed to debug into the extension with breakpoints and other usual tools?
Oct ’24
Reply to "Unable to find file provider extension with identifier" error
I managed in somewhat way to debug both the container application and the extension; once added the domain I can see on my logs the creation of a new enumerator class (FileProviderEnumerator); following your documentation I expect that the function func enumerateItems(for observer, startingAt page) is automatically called by the system to get the content of the directory; however this doesn’t happens! Do I have to call this function manually on my init() once the enumerator has been created? Do you have a more handy example than the FruitBasket?
Oct ’24