Page 1 of 1

Sequoia LAN Network Access for compiled prog

Posted: Tue Jan 20, 2026 12:59 pm
by berry
After moving from Sonoma to Sequoia 15.7.3 I am not able to access network from a compiled prog,
because during exec no popup for allowing to set the corresponding macos system security option.
-running prog inside the IDE of course works, because Purebasic is in the list.
-If I start the prog from the terminal (.....app/Contents/MacOS/xxxx) networking works (because iterm is in the list).

googling apple i only found
"Local Network Privacy is new in Sequoia. The developer would have to update the app with a "multicast entitlement" so that it can be granted access by the user."

Failed to understand how to resolve that for compiled apps, any tricks?

Re: Sequoia LAN Network Access for compiled prog

Posted: Tue Jan 20, 2026 10:40 pm
by mk-soft
After a long search in the net with me found in the notes found again. :?
Sign PureBasic app and share in firewall

Terminal:

Add Signatur:
sudo codesign --force --deep --sign - /[Path_To_App]/MyServer.app

Remove Signatur:
sudo codesign --remove-signature /[Path_To_App]/MyServer.app

Add to Firewall:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /[Path_To_App]/MyServer.app

Remove from Firewall:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --remove /[Path_To_App]/MyServer.app

Re: Sequoia LAN Network Access for compiled prog

Posted: Wed Jan 21, 2026 9:53 am
by berry
Thanks/Vielen Dank,
codesign does the job!
After that the app is appearing in LAN-Access options....and can be set= app working

and if "codesign" is added in the google search terms, solution pops up.

thanks again
Berry