Post

Replies

Boosts

Views

Activity

Comment on Enable local network access during iOS UI test in iOS14
I have tested your example with Xcode 13.2.1 on iOS 15.2. I've got the Local Network Privacy Prompt and the request went through successfully. However, the test you are using is not reflecting the original issue since the local network request is performed by the main application (that works as expected). What doesn't work is making the local network request from the UI Testing Bundle (URLSessionExampleUITests in your example).
Jan ’22