I saw that I can archive my app and export its .app in a local folder on my system using xcodebuild
. But is there a way to distribute the app directly to customers (Developer Id option) using the xcodebuild
command? So the app would be notarized and validated by Apple.
But is there a way to distribute the app directly to customers (Developer Id option) using the xcodebuild command? So the app would be notarized and validated by Apple.
You will need to follow the steps to archive and export a Developer ID signed copy of your .app
whether this goes through Xcode or through xcodebuild
. Once you have done that there are a few paths to take; if you are exporting your Developer ID signed app to a directory on your machine, you can use altool or the notarytool to send your bundle to the Notary service to be Notarized. If you are distributing from Xcode and have clicked the Developer ID option, then you can also click the Upload
option to send the bundle to the Notary service. With both options, once your bundle is Notarized and a Notary ticket is stapled to your bundle, then you can distribute to your customers as you see fit. There is no automatic distribution mechanism to your customers with either path. This is something you will need to do on your own.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com