When running my build for notarization on Travis CI I get the following error:
xcrun: error: unable to find utility “altool”, not a developer tool or in PATH
You can find complete build output here: https://travis-ci.org/github/trufflesuite/ganache/jobs/663747601#L3825
Complete Travis config here: https://travis-ci.org/github/trufflesuite/ganache/jobs/663747601/config
I've tried running sudo xcode-select -r and sudo xcode-select -s /Applications/Xcode.app per tips found on github and stack overflow (https://stackoverflow.com/a/56617634/160173, https://stackoverflow.com/a/53204124/160173), to no avail.
What am I missing?
My issue was that my Travis config wasn't actually using the root-level
osx_imagedirective of"xcode11.3"; this directive was being ignored due to my use of Travis'includematrix. The correct way to specify theosx_imagewhen using anincludematrix is as follows:Once I made this change I didn't need to try the
xcode-selectsolutions linked in my question above.