maybe, I accomplished the notarization of my PureBasic-App. It's for M1-Macs, please try it out.
The Process is very easy :-/
0. Register for the Developer Program at Apple (99 Bucks/year), may be also working with a free account. You get certificates and stuff, which are important for this. So you have a developer Apple-ID and the "Developer ID Application: xxx"
1. Create your myapp.app
2. Register a new bundle-id (e.g. com.ducks-on-the-water.retro-painter) and create an App (that may be omitted, but I created it)
https://developer.apple.com/account/res ... add/bundle
3. Add an App-specific password in your developers Apple-ID
https://appleid.apple.com/account/manage
4. Codesign your App
Code: Select all
codesign --force --options runtime --timestamp --sign "Developer ID Application: xxx" "/path/to/myapp.app"
6. notarise it
Code: Select all
xcrun notarytool submit "/path/to/myapp.app.zip" --apple-id "the one used in step 2" --password "from step 3" --team-id "find in step 3"
7. after a few minutes, have a look into the log
Code: Select all
xcrun notarytool log "ID from step 6" --apple-id "the one used in step 2" --password "from step 3" --team-id "find in step 3"
9. staple it
Code: Select all
xcrun stapler staple "/path/to/myapp.app"
Code: Select all
spctl --assess -vv --type install "/path/to/myapp.app"
That's it. Apples Transporter.app only accepts .PKG. If I succeed in signing and notarizing .PKG as well, I will edit the next post!