Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update information regarding fileImporter SwiftUI API #3085

Merged
merged 7 commits into from
Feb 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/mobile-apps/automated-testing/ipa-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,20 @@ We recommend that you try the following workaround:
2. If the above solution does not work, try using a different network without the proxy.

We do not have control over Apple's signature verification process. It is recommended to work with your network administrator to ensure that Apple's signature check is not blocked by the proxy.

## Known Errors Caused by Resigning

In some cases resigning apps with a Sauce Labs certificate and provisioning profile may break certain features of your app due to inherent limitation of the Apple system.

The known limitations are listed below and the only known workaround for those errors is to disable resigning when using private devices.

### Unable to Access Downloads Folder using 'fileImporter' SwiftUI API

Apple prevents access to private sandbox data via [fileImporter](https://developer.apple.com/documentation/swiftui/view/fileimporter(ispresented:allowedcontenttypes:allowsmultipleselection:oncompletion:)) (and likely other APIs) after resigning an app.

The console may contain one of the following error messages:
```
Could not resolve bookmark
Failed to create a url from bookmarkableString
Tried to call delegate -documentBrowser:didPickDocumentURLs: with an empty array of item
```