SIP disallows my binaries to execute
Where does one place system-wide user binaries?
macOS 12.5.1 M1 Max
My Foundation-based "daemon" binary runs fine within Xcode and located in my own local directories, but when I try to place it into /opt/local/bin or /usr/local/bin, macOS SIP won't let it run from there:
proc 20514: load code signature error 2 for file "simprefix"
ASP: Security policy would not allow process: 20514, /usr/local/bin/simprefix
proc 20598: load code signature error 2 for file "simprefix"
ASP: Security policy would not allow process: 20598, /opt/local/bin/simprefix
Is there some attribute I'm supposed to grant the binary so it can be run?
Where are user binary files supposed to be placed for system-side use?
Mac Studio