Any thoughts why?
I have thoughts, but they’re all quite negative so it’s probably best if I keep schtum |-:
My general take on issues like this is that you should test your app in common user scenarios and see if it behaves as expected there. For example, if you’re concerned about the impact of TestFlight, do this:
- Install a fresh copy of the relevant macOS version [1].
- Install your app from the Mac App Store.
- Then install a beta via TestFlight.
- Check that local network privacy is behaving itself.
- Then re-install from the Mac App Store.
- And check local network privacy again.
I suspect you’ll find that this works as expected. If so, that’s strong evidence that your app is built correctly and you’re being affected by a wider problem.
That raises the question as to what you do when contacted by a user with this issue. Unfortunately, I’m short of good answers on that front. If the user is able to give you a detailed description of how they got into this situation, you could try reproducing it. However, in my experience users rarely have that sort of info to hand, which turns this into a question of “How do I fix this one user’s system?” And that’s not easy because, as I mentioned in TN3179, there’s no supported way to reset the local network privacy database )-:
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
[1] I usually use VMs for this sort of thing, but it’s tricky in this case because Apple silicon VMs don’t support App Store or TestFlight. One option is to use an Intel VM for this. If that doesn’t work for you, you have to use real hardware.