Hi,
I am having a ton of issues with the new multicast/network entitlements requirements on MacOS.
Basically, since my app didn't request these new entitlements until recently, if the app had been installed without these permissions enabled, it will not pick up the new permissions once they are enabled. The only options I had were to create a new user, and install the app under the new user, which works, but is not a real solution for users.
This is really problematic, as there is no way currently to remove or change these network permissions once they are established. Is there a way to fix this? Or some other workarounds I am missing?
Thanks
Also via the documentation: TN3179: Understanding local network privacy | Apple Developer Documentation
"There's no guarantee that it'll actually trigger the alert”
And
"On macOS there’s no way to reset your program’s Local Network privilege to the undetermined state (FB14944392). One alternative is to run your program in a virtual machine (VM). To retest, restore the VM from a snapshot taken before you installed your program.”
Thanks for confirming that.
I re-read your earlier posts and my understanding is that things are working now but your concerned about this:
I … used the second user for the app, which [would be] horrid if I ever had to ask a user to do it.
Is that right?
Lemme explain why that matters. If your app works properly on a fresh Mac [1] then you know that it’s built correctly. If it encounters problems like this out in the wild, then there are limits as to what you can do about that. It would be nice, for example, if you could publish your own support article explaining how a user hitting weird problems with your app can reset local network privacy. However, I don’t have any advice to offer on that front because there’s no supported way to do that )-:
Having said that, my experience is that problems like this a much more common on development machines than user machines, because:
- A development machine is likely to see builds of your app that aren’t correctly set up.
- Even if that never happens, development machines see build upon build of your app, and that’s exposes all sorts of weird bugs.
So, I’d caution you not to extrapolate your experience to that seen by your app’s users.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] Well, for a fresh user on a Mac that’s never seen your app before.