Launch appstore instead of error-prone xcode install

We have to launch in the browser, but it is still better..
This commit is contained in:
Justin SB
2014-10-02 21:54:03 -07:00
parent 36cde0a160
commit 84c1866768

View File

@@ -1403,8 +1403,12 @@ _.extend(IOS.prototype, {
if (!Host.isMac()) {
throw new Error("Can only install Xcode on OSX");
}
Console.info("Launching Xcode installer; we recommend you choose 'Get Xcode' to install Xcode");
files.run('/usr/bin/xcodebuild', '--install');
//Console.info("Launching Xcode installer; please choose 'Get Xcode' to install Xcode");
//files.run('/usr/bin/xcodebuild', '--install');
// XXX: Any way to open direct in AppStore (rather than in browser)?
files.run('open', 'https://itunes.apple.com/us/app/xcode/id497799835?mt=12');
},
agreedXcodeLicense: function () {