I'm on Big Sur here. Maybe the directory where the file is located must be set to 'read and write for everyone' to work without sudo.discoDSP wrote: ↑Thu Nov 23, 2023 11:27 amWorks here without sudo.Markus Krause wrote: ↑Fri Aug 18, 2023 9:27 am 6) StapleNote: sudo is essential here. Otherwise this won't work.Code: Select all
sudo xcrun stapler staple signed.pkg
Further observations in my builds:
XCode 12 crashes without any error with command line code signing in the post build script when the computer is not connected to the internet.