I'm trying to sign my app but after signing and running a few commands, I'm completely lost.
After signing, I check the result by running:
Unfortunately, I only get
Additionally, if I run
I get
The app runs as expected and everything, I just can't get spctl to give a satisfactory answer. I'm signing everything by running this in my script:
Where could I be going wrong? Are there any other commands I can run that would give me more information to go on?
I also Removed everything in the Frameworks, PlugIns, and Resources directories and signed it again. The only thing remaining is the binary in the MacOS directory and the Info.plist, and spctl still says rejected.
EDIT: Additionally, I started a new project in Xcode and tried signing the default blank window that is generated when you first start a project and that is still rejected.
After signing, I check the result by running:
Code Block spctl -a -vv ~/MyApp.app
Unfortunately, I only get
Code Block /Users/rwardrup/Desktop/MyApp.app: rejected origin=Apple Distribution: Robert Wardrup (##########)
Additionally, if I run
Code Block codesign -vv --deep-verify
I get
Code Block /Users/rwardrup/Desktop/MyApp.app: valid on disk /Users/rwardrup/Desktop/MyApp.app: satisfies its Designated Requirement
The app runs as expected and everything, I just can't get spctl to give a satisfactory answer. I'm signing everything by running this in my script:
Code Block find ~/Desktop/MyApp.app/Contents/Resources/* | xargs -I $ codesign -f --verify --sign "##########" $ find ~/Desktop/MyApp.app -name "*.dylib" | xargs -I $ codesign -f --verify --sign "##########" $ find ~/Desktop/MyApp.app -name "*.framework" | xargs -I $ codesign -f --verify --sign "##########" $ codesign -f --sign "##########" --options runtime --timestamp --verbose --entitlements MyApp-Entitlements.plist ~/Desktop/MyApp.app
Where could I be going wrong? Are there any other commands I can run that would give me more information to go on?
I also Removed everything in the Frameworks, PlugIns, and Resources directories and signed it again. The only thing remaining is the binary in the MacOS directory and the Info.plist, and spctl still says rejected.
EDIT: Additionally, I started a new project in Xcode and tried signing the default blank window that is generated when you first start a project and that is still rejected.