Posts

Post not yet marked as solved
197 Views

App is signed and notarized, but still produces the 'The application "***.app" can't be opened.' error in Catalina

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: % codesign --verbose --verify *.app ***.app: valid on disk ***.app: satisfies its Designated Requirement % xcrun stapler validate *.app Processing: /path/to/*.app The validate action worked! % spctl --assess --verbose *.app ***.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 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
Asked
by Greggars.
Last updated
.