Using xcode-install-2.6.0, we want to install Xcode 10.3 on a machine running macOS 10.14.5. However, it fails with the following error:
/Applications/Xcode-10.3.app: bundle format unrecognized, invalid, or unsuitable
I tried enabling the --verbose flag, but it did not increase the amount of information logged. Here's the full output, with most of the download status messages removed:
After the failure we receive a 0 exit code, which is rather impractical for CI scripts. The download caches will be present in ~/Library/Caches/XcodeInstall. The Xcode_10.3.xip found there can be extracted successfully, containing Xcode.app.
Using xcode-install-2.6.0, we want to install Xcode 10.3 on a machine running macOS 10.14.5. However, it fails with the following error:
I tried enabling the
--verbose
flag, but it did not increase the amount of information logged. Here's the full output, with most of the download status messages removed:After the failure we receive a 0 exit code, which is rather impractical for CI scripts. The download caches will be present in
~/Library/Caches/XcodeInstall
. TheXcode_10.3.xip
found there can be extracted successfully, containing Xcode.app.