UDP Broadcast fails on the first try after the iOS 18.5 update but works after restart

iOS upgrade to 18.5, then install app and grant permissions to send UDP but it won't work. Then restart device, open app and send UDP again and this time it becomes OK. The UDP Pod I used in app is CocoaAsyncSocket.

The same thing happens on iPhone 14 Plus and 16 Pro, both iOS 18.5. How to explain this phenomenon, thanks for your help in advance.


[Re-Titled by Moderator]

Original Title: iOS 18.5 UDP Broadcast Issue

iPhone 11, iOS 18

Posted on Sep 3, 2025 07:39 PM

Reply
6 replies

Sep 4, 2025 08:00 PM in response to 艾尔百思

Get to iOS 18.6.2, and test again.


Then… The developer forums are going to be a better spot for this question, and you will want to provide a concise source code reproducer showing the error.


Some semi-related resources, including requirements around multicast and privacy:



Ypu may find yourself using Combine or the more recent asynchronous/await concurrency, too.


Or working with whoever is supporting that (presumably) CocoaPod. That’s reportedly:

Sep 4, 2025 09:08 PM in response to ganiyu240

ganiyu240 wrote:

I need iOS 18.5 update for my iPhone


iOS 18.5 is no longer available.


You’ll need an iPhone XS, iPhone XR, iPhone SE 2nd, or later, and you will get iOS 18.6.2.


Or with iPhone 11 or later, and iPhone SE 2nd or later, you’ll also get iOS 26 as that becomes available Real Soon Now.


iPhone X and earlier are not supported with iOS 18.


UDP Broadcast fails on the first try after the iOS 18.5 update but works after restart

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.