Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New info.plist requirement for browsing services: NSBonjourServices #37

Open
robreuss opened this issue Nov 6, 2020 · 3 comments
Open

Comments

@robreuss
Copy link

robreuss commented Nov 6, 2020

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 in info.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.

@robreuss
Copy link
Author

robreuss commented Nov 6, 2020

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.

@Bouke
Copy link
Owner

Bouke commented Nov 29, 2020

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.

@robreuss
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants