I wanted to start building a notarization automation script.
However, when I try to use the 'xcrun altool' in Terminal, I get the following error:
xcrun: error: unable to find utility "altool", not a developer tool or in PATH
I'm on macOS 10.14.5, Xcode 10.2.1.
I then especially downloaded and installed Xcode Command Line Tools - still get same error.
Other tools like stapler do work.
I checked this dir and altool is not there: /Library/Developer/CommandLineTools/usr/bin
Any idea what's going on?
Thanks!
I tried the accepted answer and it did not work. However, what did work was the following:
/Applications/Xcode.app
This did the trick for me.
You might try xcode-select -r
to reset your xcode selection.
For me the solution was to install complete XCode. I had been getting the error message because I had installed only XCode Command Line Tools and naively thought that altool (being a command line tool) will be there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With