Reputation: 3586
I'm trying to sign and notarize my macOS application. The Apple developer documentation says to do xcrun notarytool ...
per
Customizing the notarization workflow.
But when I try this, I get an error xcrun:
error: unable to find utility "notarytool", not a developer tool or in PATH.
The apple documentation simply says 'install Xcode 13 beta' and you'll have it. Well, I have Xcode 13 installed on macOS 11.6, do I have to downgrade to the beta? Reinstall? Look for it somewhere? Inside Xcode.app?
Upvotes: 3
Views: 2553
Reputation: 1133
For the benefit of anyone finding this via Google who wants to know the location of notarytool (in my case for copying to a previous MacOS, which is allowed), it is in:
/Applications/Xcode.app/Contents/Developer/usr/bin
(True as @ Xcode 15.3, Sonoma 14.1.2) (Shift + Command + . shows the hidden folders in Finder)
Upvotes: 1
Reputation: 53
You need to use xcrun:
xcrun notarytool ...
[The Apple documentation was also updated to fix this at some point, but the developer video was not.]
Upvotes: 1