The issue is when getting the notarization status after uploading a request
It's like this, I've got an older kernel extension, with the latest mac update notarizing it will be required and I'm trying to get this done in an automated way (command line).
First thing I wanted to do was see if I could get anything to upload and get any status back.
So after building the kext in xcode, I used ditto to create the archive that needs to be sent to apple:
cd <builddir> && ditto -c -k --keepParent "MyApp.kext" "MyApp.kext.zip"
Once that is done I upload it:
xcrun altool --notarize-app --primary-bundle-ip "com.myapp.." --username "[email protected]" --password "mypassword" -asc-provider "MyProvider" --file MyApp.kext.zip
This returns the request id that I need
So the above steps work, the next step is what's giving me issues, getting the status of the request, tried both the specific request as fetching them all
xcrun altool --notarization-info <id> -u "[email protected]" -p "mypassword" -asc-provider "MyProvider"
OR
xcrun altool --notarization-history 0 -u "[email protected]" -p "mypassword" -asc-provider "MyProvider"
The two commands both give me:
*** Error: Connection failed! Error Message - unsupported URL
*** Error: Apple Services operation failed. unsupported URL
On google I'm not having any luck on finding any error with "unsupported URL"
Does anyone have any experience with this?
--notarization-info
doesn't actually need the--asc-provider
option. Try leaving that off. Also note that it's--asc-provider
with 2 hyphens, not-asc-provider
. (I don't know why your--notarize-app
worked, as it should have 2 hyphens there too.) – Scogginsxcrun altool --help
, the--notarization-info
sub-command does not need--asc-provider
. (The UUID is unambiguous) – Scoggins