Skip to content

Commit

Permalink
docs: Update information regarding fileImporter SwiftUI API (#3085)
Browse files Browse the repository at this point in the history
* docs: Update information regarding fileImporter SwiftUI API

* Update docs

* Update docs (PR feedback)

* Update docs

* Update docs (linter feedback)

* Update documentation (PR feedback)
  • Loading branch information
isevendays-saucelabs authored Feb 10, 2025
1 parent eb4992a commit dec0ce1
Showing 1 changed file with 17 additions and 0 deletions.
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
```

0 comments on commit dec0ce1

Please sign in to comment.