Open robreuss opened 4 years ago
I should mention why this change is frustrating to me. As far as I can tell, the result is that there is no way to create dynamically defined/named services at run-time. I'm not currently doing this for my current project, but users of my framework may want to.
What platform is the host application running on, is this a restriction in iOS 14 or macOS 11 (Big Sur)? I'm still on Xcode 11 and macOS 10.15, so I cannot verify other versions than that.
I'm on Xcode 12 and iOS 14, and it only impacts iOS devices in my experience, thought I suspect macOS. It has had not any impact on my Linux applications.
This impacted OSs are listed here: NSBonjourServices key
After leaving my project alone for a year, upgraded to Xcode 12 and suddenly couldn't find my available service when browsing, which I confirmed was published and available. Received error -72800 missingRequiredConfigurationError and tracked down that there is a new requirement where you need to list all services you want to provide your user with access to under the key
NSBonjourServices
ininfo.plist
. What a pain. The format for defining the services for that key are_myservice._tcp
and_myservice._udp
, depending on transport respectively.Documention for NSBonjourServices key
If you know a way around this (I doubt that's possible) that would be great. I haven't tested this issue from the Linux side of the equation yet, and will update this issue when I do.