Hi All:
I've got a bash script to notarize and build my Developer ID based application.
My 'build' command is:
`xcodebuild -workspace "${WORKSPACE_DIR}MyGreatApp.xcworkspace" \
archive \
-scheme "MyGreatApp" \
-archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive"
`
This produces the required .xcarchive package. It goes to the notification server with:
xcodebuild -exportArchive \
-archivePath "${ARCHIVE_PATH}/MyGreatApp.xcarchive" \
-exportOptionsPlist "${EXPORT_OPTIONS_PLIST_PATH}" \
-exportPath "${EXPORT_PATH_TO_APP}"
Where export options are:
<key>destination</key>
<string>upload</string>
<key>teamID</key>
<string>XXXXXXXXX</string>
<key>method</key>
<string>developer-id</string>
<key>signingStyle</key>
<string>automatic</string>
Now I need the app to use for our installer. Do I go into the .xcarchive to use that app? Do I re-export the archive with a different exportOptions so I get a 'new' app that I can package up? Or is there another step I that I am missing?
Thanks in advance for your time
Best Regards
John