Closed ctsrc closed 3 months ago
I think I found the answer.
https://developer.apple.com/videos/play/wwdc2020/10110/
At about the 6:35 mark in the video above they say that an app needs to have the Multicast Networking Entitlement.
One can apply for this for an app by filling out and submitting the form https://developer.apple.com/contact/request/networking-multicast
Do you know if this applies even for local testing of an App that I am not yet distributing through App Store? And is this the reason for the error I am getting?
Hi,
I am trying to use the example code, but am getting the following error when I try to invoke
sendBroadcast
:In my app I have:
This happens regardless of which port I try to use, and it happens even though I have set a string value for
NSLocalNetworkUsageDescription
inInfo.plist
and I say "OK" when I am prompted that my app "would like to find and connect to devices on your local network." along with the message that I set inInfo.plist
.I am running the app on an iPhone X with iOS 14.4.2. I am connected to a WiFi network.