Hi everyone,
I hope I can provide enough context to receive helpful insight!
I found that the release build of my iOS app (iOS 15) seems to be able to connect to my local dev server (running on localhost) without any changes to Info.release.plist. This is fairly surprising, although I found this link that describes how App Transport Security (ATS) differs between iOS 9/macOS 10.11 and iOS 10+/macOS 10.12+. Namely, "no longer need[ing] an exception for" .local domains, IP addresses, and unqualified domains.
The above explains why Release builds can connect to local IP addresses, but doesn't explain the following questions:
- If connections to local IP addresses are allowed by ATS, why can't our Testflight build connect to a local IP address?
- What is different between the release build and Testflight build with regards to the above? They are being pulled from App Store and TestFlight respectively, and are configured by the same
Info.release.plistfrom my observation.
Forum thread 69591 appears to be related, but does not address these questions. Any insight and/or resources would be greatly appreciated! Cheers