Hi,
Prior to iPadOS 14/Xcode 12 I was able to access my device from the UI Test Runner app.
If this theory is correct, can Apple provide a way to give local network access to UI Test runner apps? Or is something else going on?
Thank you.
Background
My product has two components:An iPad app
A separate hardware device. The hardware device creates an access point which the iPad connects to over Wi-Fi.
Prior to iPadOS 14/Xcode 12 I was able to access my device from the UI Test Runner app.
Problem
When I run on an iPad with iPadOS 14 installed, I get the following error:This problem does not occur when I run the same test on an iPad running iPadOS 13. So this problem only occurs on iPads running iPadOS 14.Error Domain=NSPOSIXErrorDomain Code=65 "No route to host" UserInfo={NSLocalizedDescription=No route to host, NSLocalizedFailureReason=Error in connect() function}
Theory
I watched the WWDC Session 10110 "Support local network privacy in your app" and it makes sense. My theory is that local network access is blocked for UI Test runner apps and there doesn't appear to be a way to give it permission.If this theory is correct, can Apple provide a way to give local network access to UI Test runner apps? Or is something else going on?
Thank you.