-
Notifications
You must be signed in to change notification settings - Fork 103
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
Changes from 5 commits
78609e9
3ef6530
21706f1
349ce7d
bebd01e
ffd9e6e
a57743b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,3 +149,19 @@ | |
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. | ||
|
||
### Unable to access Downloads folder using 'fileImporter' SwiftUI API | ||
Check warning on line 153 in docs/mobile-apps/automated-testing/ipa-files.md
|
||
|
||
For instrumentation, Sauce Labs must resign the app using our certificates and provisioning profiles, and change the bundle identifier to Sauce Labs wildcard identifier. | ||
Apple prevents access to private sandbox data via `fileImporter` (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 | ||
``` | ||
|
||
This is an inherent limitation of the Apple system. | ||
Check warning on line 165 in docs/mobile-apps/automated-testing/ipa-files.md
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "this" here references the idea in the first paragraph, which makes me think this sentence should follow immediately after it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
The only known workaround is to not use instrumentation when accessing data using `fileImporter`. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this into it's own section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmissmann thanks for the comment! I updated the docs