Hi,
I have codesigned my application and after this macos won't run the binary anymore.
codesign -f -o runtime --timestamp -s "Developer ID Application: YOUR NAME (TEAM_ID)" --entitlements $HOME/workspace/GSequencer-cocoa/gsequencer-macos/macos-contrib/GSequencer.entitlements -i com.gsequencer.GSequencer --deep $HOME/workspace/GSequencer-cocoa/gsequencer-macos/build/universal/GSequencer.app
Verify signature works.
codesign -vv $HOME/workspace/GSequencer-cocoa/gsequencer-macos/build/universal/GSequencer.app
The same for the DMG file, still doesn't work anymore.
codesign -f -o runtime --timestamp -s "Developer ID Application: YOUR NAME (TEAM_ID)" $HOME/workspace/GSequencer-cocoa/gsequencer-macos/build/arm64/GSequencer-6.9.1.dmg
I would love to distribute my application with code signing. Note all libraries are built using clang
or clang++
.
I figured out that when I leave entitlements away it would launch but complains about library signatures.
regards, Joël