I've built my app, signed it with my Developer ID, and had it was successfully notarized. However, when I attempt to launch the app in macOS 10.15.7, I get the 'The application "***.app" can't be opened.' error message.
I ran all the usual checks to make sure the app is signed and notarized properly:
Can someone help me figure out what I am **** wrong here.
Here are the commands which I have executed:
I ran all the usual checks to make sure the app is signed and notarized properly:
Code Block % codesign --verbose --verify *.app XXX.app: valid on disk XXX.app: satisfies its Designated Requirement % xcrun stapler validate *.app Processing: /path/to/*.app The validate action worked! % spctl --assess --verbose *.app XXX.app: accepted source=Notarized Developer ID
Can someone help me figure out what I am **** wrong here.
Here are the commands which I have executed:
Code Block Code Signing: codesign --sign "Developer ID Application: *" --timestamp --options runtime --verbose=4 --strict ./*.app Create Zip File to send to Apple: /usr/bin/ditto -ck -rsrc --sequesterRsrc --keepParent ./*.app ./*.zip Notorize Zip File: xcrun altool --notarize-app --primary-bundle-id "bundle-id" --username myusername --password mypassword --file ./*.zip Staple to App File. xcrun stapler staple ./*.app