xcode-install
xcode-install copied to clipboard
Installing Xcode 10.3 fails with "bundle format unrecognized"
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:
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0%
[...]
100 5764M 100 5764M 0 0 17.2M 0 0:05:33 0:05:33 --:--:-- 15.1M
15:19:05 /Applications/Xcode-10.3.app: bundle format unrecognized, invalid, or unsuitable
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.
@Nezz have you figured a workaround? I'm having the same issue with 11.2.1 😔
No solution sadly, had to do a manual install.
@Nezz ended up doing the same! 🙌