Network access blocked by system

I’m building an app on macOS 26.4 with Xcode 26.4. When I build and run my app it started prompting me for network access, which it didn’t do before with Xcode 26. It did that repeatedly, and I had been approving the prompts and the app had been working. Now the app’s network features are not working, and I assume its because its being blocked by macOS, even though I accepted the network requests each time. In System Settings - Privacy and Security - Local Network, the app has many repeated entries, like 20, and all of them are turned on.

Thanks for the post. I wanted to make sure to see as nothing has changed on Xcode, but could be macOS requesting for permission. What version of macOS and build are you using? macOS manages privacy permissions using a system called TCC. When you build and run your app via Xcode, the system checks the app's signature to see if it has permission, and creates a new entry in System Settings.

I have an idea, however there are engineers here that will have better suggestions than mine. Looking forward to other developers suggestions.

I would personally check and reset the bundle ID. Check System Settings > Privacy & Security > Local Network. Is there anything there?

Open the Terminal app on your Mac. You will need your app's Bundle Identifier (e.g., com.yourname.yourapp). You can find this in Xcode by clicking your project file in the navigator and looking under the "General" tab. Run the following command, replacing [YOUR_BUNDLE_ID] with your actual bundle identifier: tccutil reset LocalNetwork [YOUR_BUNDLE_ID]

Or could be tccutil reset SERVICE [BUNDLE_ID]

Press Enter. You should see a message saying the reset was successful.

Check System Settings > Privacy & Security > Local Network. The duplicate entries should now be gone.

Haven’t use that in a very long time. So hopefully is still the same process. But more interesting part is that keeps asking you for the same permissions over and over again, something that should not happen.

More details of the prompts will also help to narrow down the solution.

Albert 
  Worldwide Developer Relations.

Network access blocked by system
 
 
Q