My app uses UDP broadcast to find out a peer on a private network (169.254..). With iOS 14 and iOS 15 everything works fine, but on the newly released iOS 16 release candidate I get a 'Socket Error 65: No Route To Host'.
I don't have any special entitlements for this app. Did anything change with regards to UDP broadcast policies from iOS 15 to iOS 16?
I still don't understand why this moved from optional to mandatory just now
We started enforced this for BSD Sockets code in iOS 14.5 (see FAQ-3). I remember verifying that myself personally at the time. However, some time during the iOS 15 cycle that patch came unstuck. This is annoying because it mislead folks, like yourself, into thinking that this wasn’t a requirement. We glued the patch back down again during the iOS 16 development cycle, and that’s how we got to where we’re currently at.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"