![]() Note that in an upcoming release of macOS, Gatekeeper will require Developer ID signed software to be notarized by Apple.ĭocumentation on notarization is a bit thin on the ground, especially if you want to notarize software that wasn’t built using XCode (I build my software using QtCreator). ![]() So I am writing up my experiences here.įirst you need to ensure you have macOS 10.14 and XCode 10 installed (with command line tools) and you need a current Apple developer account.Ĭodesign your app with ‘hardened runtime’ using –options runtime :Ĭodesign –deep –force –verify –verbose –sign “Developer ID Application:” –options runtime Ĭodesign –deep –force –verify –verbose –sign “Developer ID Application: Acme Ltd” –options runtime myApp.appĪ ‘hardened runtime’ limits the data and resourced an application can access. I’m not sure what the exact ramification of this are. Xcrun altool -t osx -f –primary-bundle-id –notarize-app –username But it doesn’t seem to have restrict my software from doing anything it could do previously. Xcrun altool -t osx -f myApp.dmg –primary-bundle-id –notarize-app –username will be prompted for your Apple developer password (or you can include it on the command line). You then have to use this to request your upload be scanned: If the upload is successful “No errors uploading ” will be shown and a unique ID will be returned. Xcrun altool –notarization-info xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx -u will be prompted for your Apple developer password (or you can include it on the command line).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |