Sequoia LAN Network Access for compiled prog

Post bugreports for the Mac OSX version here
berry
New User
New User
Posts: 6
Joined: Fri Apr 24, 2020 12:06 pm

Sequoia LAN Network Access for compiled prog

Post 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?
User avatar
mk-soft
Always Here
Always Here
Posts: 6510
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Sequoia LAN Network Access for compiled prog

Post 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
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
berry
New User
New User
Posts: 6
Joined: Fri Apr 24, 2020 12:06 pm

Re: Sequoia LAN Network Access for compiled prog

Post 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
Post Reply