xcrun -v notarytool -> rc = 69

The following process to sign my .pkg installer for distribution outside the app store have been working for over a year and recently the notarization fails with a rc = 69. I not aware of any changes other then xtools updates for the latest macos 15.6.1. Admittedly I felt lucky to have gotten it all to work initially and I could really use help. Thanks in advance! Bill

The signing (no errors): productsign --sign macos_cert myapp.pkg

The notarization (rc=69): xcrun -v notarytool submit myapp.pkg --apple-id my_apple_id --team-id XXXXXXXXXX

Answered by DTS Engineer in 881479022

Error code 69 is EX_UNAVAILABLE, which isn’t something I’d expect from notarytool. Are you sure you’re not hitting an xcrun problem? What does this report:

% xcrun -f notarytool 
/Applications/Xcode.app/Contents/Developer/usr/bin/notarytool

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error code 69 is EX_UNAVAILABLE, which isn’t something I’d expect from notarytool. Are you sure you’re not hitting an xcrun problem? What does this report:

% xcrun -f notarytool 
/Applications/Xcode.app/Contents/Developer/usr/bin/notarytool

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for you reply Quinn!

It turn our that there was and issue running xcrun and it was hidden by the python script that I run.

When running xcrun the command was requesting that I view and agree to the xcode license agreements. When done all is working now.

Was this triggered when I installed the xcode update? Again, thank you for you prompt reply. Bill

Glad to hear you’re making progress.

Was this triggered when I installed the xcode update?

That seems likely. It’s not uncommon for new versions of Xcode to include a new licence agreement. However, it’s hard to be 100% sure without knowing the exact sequences of steps you took to get into this situation.

One little-known gem is that xcodebuild has a command that checks whether the installation is copacetic:

% xcodebuild -checkFirstLaunchStatus ; echo $?
0

See the xcodebuild man page for details.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

xcrun -v notarytool -> rc = 69
 
 
Q