In our iOS app we have been using BSD sockets C Code for connecting to Server for 9 years now.
Recently we have seen a few reports of our App being unable to connect on the 5G/4G Cellular network.
First reports were from an iPhone 13 so I thought maybe this was a new issue with that model. But we have also seen it on iPhone 12 Pro Max.
The app works fine on Wifi but will not connect to the server on Cellular. This is only happening on some devices (not all devices)
Whilst trying to figure this out I have just discovered in the "networking overview" the statement "In iOS, using sockets directly using POSIX functions or CFSocket does not automatically activate the device’s cellular modem or on-demand VPN"
I was not aware of that but have seen no problems with Cellular since our App was launched 9 years ago.
I also see a post from Quinn the Eskimo saying that "On modern systems, however, the WWAN network is pretty much pinned up by various system services (most notably push notifications).
So has something changed with iOS15?
It will be a major rewrite if I have to move our networking protocol code away from BSD Sockets and in the meantime our customers will stop using our App.
Is it possible to get more certainty on this issue??
Could it just be a new iOS15 bug ?
Thanks
Dave
So has something changed with iOS15?
I’m not aware of such a change. It’s more likely that there’s some other problem affecting your app. It’s hard to offer any insight with more concrete info.
This is only happening on some devices (not all devices)
Can you reproduce it with one of your devices?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"