Local network permission provided but App still has no access (Mac Catalyst)

Context: I work on Home Assistant App, a smart home platform which connects locally to their smart home server. The Apps essentially needs the local network permission and every single user gives the permission, but some in macOS 15.3 are reporting that even though the permission is given, the app still reports it is not, and logs also confirm that.

Since there is no way to reset local network permission on macOS I am kind of on a dead end here.

How can the user get out of this situation?

I also read https://developer.apple.com/forums/thread/763753?answerId=824036022&replyId=824036022 and the TN3179 but still no solutions for my case.

Answered by DTS Engineer in 824197022

Unfortunately there isn’t a good option here (if there were, I’d have to put it in TN3179). And it gets trickier when you’re trying to diagnose this on behalf of one of your users. Whatever else you do, I recommend that you file a bug requesting a supported way for the user to reset this privilege. Please post your bug number, just for the record.

As to what you can do right now, I have a number of suggestions:

  • Test your app on a ‘clean’ machine to make sure you don’t have any lingering issues. Make sure to test the final release of the app. Testing a Notarised Product describes my standard process for this [1].

  • Make sure the user only has one copy of your app installed.

  • Make sure it’s in the Applications folder.

  • Have them restart. Restarting shouldn’t change the behaviour, but I’ve definitely seen reports that it can help in some cases.

  • Have them create a new user account and retest there. That’ll tell you whether the issue is tied to their user account or affects the machine as a whole.

If you do all of the above and it still fails, the next step is for them to contact Apple Support.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] Although it assumes your distributing the app directly, not on the Mac App Store. If you’re shipping on the App Store, lemme know and I’ll rummage around for an approach that works there.

Unfortunately there isn’t a good option here (if there were, I’d have to put it in TN3179). And it gets trickier when you’re trying to diagnose this on behalf of one of your users. Whatever else you do, I recommend that you file a bug requesting a supported way for the user to reset this privilege. Please post your bug number, just for the record.

As to what you can do right now, I have a number of suggestions:

  • Test your app on a ‘clean’ machine to make sure you don’t have any lingering issues. Make sure to test the final release of the app. Testing a Notarised Product describes my standard process for this [1].

  • Make sure the user only has one copy of your app installed.

  • Make sure it’s in the Applications folder.

  • Have them restart. Restarting shouldn’t change the behaviour, but I’ve definitely seen reports that it can help in some cases.

  • Have them create a new user account and retest there. That’ll tell you whether the issue is tied to their user account or affects the machine as a whole.

If you do all of the above and it still fails, the next step is for them to contact Apple Support.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] Although it assumes your distributing the app directly, not on the Mac App Store. If you’re shipping on the App Store, lemme know and I’ll rummage around for an approach that works there.

Thanks for the overview once again, the problem is that the app works correctly for long periods of time, until on a random day, the OS tell the app the local access permission is denied, even though if the user manually checks the permission it is enabled.

So... I could test my app how many times I want but I can't predict when this will happen. Anyway, I will report this directly then.

Local network permission provided but App still has no access (Mac Catalyst)
 
 
Q