iOS 18.4 and getFileProviderServicesForItem

I support a pair of iOS apps that use a file provider extension. One app exposes a file provider extension, including a file provider extension service and the other app interacts with the file provider extension and uses the service.

On iOS 18.3 and before, this all works fine.

On iOS 18.4, getFileProviderServicesForItem fails when called from the consuming app with: Error Domain=NSCocoaErrorDomain Code=513 "The file couldn’t be saved because you don’t have permission." The supportedServiceSources method in the service hosted by the provider app is never invoked when this occurs. Is there some change to the mechanism for iOS 18.4 that I've not found yet?

It seems that you've filed a feedback report (FB16933592). Thanks for that. The sysdiagnose in your feedback report doesn't have enough information, probably because you didn't install the appropriate profile when capturing it.

Would you mind to capture a new sysdiagnose with the following steps, and attach it to your feedback report?

  1. Download and install the appropriate File Provider profile on your system.

  2. Reproduce the issue.

  3. Follow the instruction to capture a sysdiagnose, and attach to your feedback report.

If there is any information you don't want to publicly share in the forums, you can contact DTS directly.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Tested on iOS 18.5, Beta 1 (22EF5042g), same issue is still present.

getFileProviderServicesForItem fails when called from the consuming app with: Error Domain=NSCocoaErrorDomain Code=513 "The file couldn’t be saved because you don’t have permission." The supportedServiceSources method in the service hosted by the provider app is never invoked when this occurs.

Updated sysdiagnose has been uploaded to feedback report https://feedbackassistant.apple.com/feedback/16933592

Same behavior persists on iOS 18.5, Beta 2 as well.

Accepted Answer

Fixed in 18.5 beta 4

iOS 18.4 and getFileProviderServicesForItem
 
 
Q