We have an old iOS app and an old camera that connects using Wi-Fi either using an access point or Ad Hoc network, e.g., iPhone/iPad connects to the camera's Wi-Fi directly...
How it works (old legacy app/system, which cannot be redesigned):
- Camera is configured to Ad Hoc Wi-Fi network (insecure TCP).
- iPhone connects to this insecure Wi-Fi.
- Camera uses Bonjour service to broadcast its IP address.
- App reads in IP address and begin to send messages to the camera using NSMutableURLRequest, etc.
All this works fine for iOS 17. But in iOS 18 step 4 stopped working. App simply doesn't get any responses!
We believe we have configured ATS properly (App Store version):
In panic we have also tried this in Test Flight version:
The latter actually seemed to make a difference when running the app on macOS Apple Silicon. But on iOS it didn't seem to make any difference.
Occasionally, I was lucky to get connection on on iPhone 16 Pro with iOS 18. But for the 'many' iPads I have tried I couldn't.
I also tried to install CFNetwork profile and look at the logs but I believe I just got timeout on the requests.
Questions:
- Why it iOS 18 different? Bonjour works fine, but NSSURLRequests doesn't
- Do we configure ATS correctly for this scenario?
- What should I look for in the Console log when CFNetwork profile is installed?
- Should I file a TSI?
Thanks! :)