

- Command line check xcode version install#
- Command line check xcode version update#
- Command line check xcode version software#
- Command line check xcode version code#
NOTE: Always close one version of Xcode before running another.ġ1) So what about having the ability to continue development using Xcode 6? Way back when I first installed Xcode 7, I faced the same dilemma, wanting to keep my ability to use Xcode 6 and 7 side-by-side. If you don’t, you’ll have problems - like errors telling you that Xcode can’t find the simulator. It should be self-explanatory, but leave me a comment if you get stuck.ġ0) So what about having the ability to continue development using Xcode 7.3? Go to the “/Applications/Xcode73” directory and rename “Xcode7.3.app” back to “Xcode.app”. We’re kinda getting off-topic here, but in Xcode, go to your target and then settings for General -> Signing.
Command line check xcode version code#
Accept the Xcode license agreement and sign in with in your Mac’s admin password, and Xcode will start up!ĩ) Note: When creating your first Xcode 8.2.1 project and compiling it, you’ll probably have to set up code signing, provisioning, and assigning a development team. If you follow step 7, you probably won’t have to wait too long before Xcode 8.2.1 opens.ħ) For the impatient types, open up a Terminal window and enter the following commands:Ĩ) Xcode 8.2.1 starts opening up, but presents you with several alerts.

If you’re the impatient type, go to step 7. Skip step 7 and, once Xcode comes up, go to step 8. I would advise you to go make a cup of coffee, pick up and play your guitar, or read a copy of the Constitution, and just be patient until Xcode 8.2.1 opens up.

You may experience a long delay - with the spinning hallucinogenic wheel twirling - as MacOS runs a complex algorithm to inspect the Xcode.app bundle for nasty bits like viruses, worms… It can seem like your system has hung, but Apple is scrutinizing 4.2 GB of content.
Command line check xcode version software#
The operating system is making sure you know that the app you just downloaded from the dreaded wild west Internet may contain malicious content (even though this is Apple software downloaded from the Apple Developer site). You’ll see these MacOS alerts whether you use step 7 or not: If you chose to skip step 7, there’s no instant gratification you’ll need to be patient as the new Xcode version starts (slowly). Once you decide on an option, double tap on “/Applications/Xcode.app”. You don’t have to put it there, but I like to keep things organized and consistent.Ħ) This is the moment of truth: starting Xcode 8.2.1 for the first time, but read the rest of the text in this step before proceeding. Double-tap on the xip to start the installation process.ĥ) The newly installed Xcode 8.2.1 bundle “Xcode.app” will appear on your desktop.
Command line check xcode version install#
Do not use the App Store app to install (“Update”) Xcode 8.2.1.Ĥ) To be safe, put the “Xcode 8.2.1.xip” installer on your desktop (i.e., somewhere other than your “/Applications” folder). Note that you’ll have to login with your Apple Developer credentials to reach this site. If the old “Xcode.app” is not renamed, I’ve found that the installer for the new version of Xcode will step on the old version.ģ) Download the installer for Xcode 8.2.1 from the Apple Developer site ( “Downloads for Apple Developers” ). Let’s get started…Ģ) Go to your “/Applications” folder, create a new directory for your current Xcode installation, name it something like “Xcode73”, move “Xcode.app” into the new directory, and (temporarily) rename “Xcode.app” to “Xcode7.3.app”. (I’ll also show you that I still have Xcode 6.4 installed on the same Mac.) We’ll be taking advantage of the fact that MacOS apps are single self-contained bundles, and while Xcode does use some common files stored on your system, applications don’t have the kind of overly complicated structures as found in OS’s like Windows (ah, like the registry). Assume you’ve got Xcode 7.3 already installed, that this version is your current go-to development platform, but you want to also install Xcode 8.2.1 on the same Mac.

This article contains the steps I’ve used for successful side-by-side Xcode installations.
Command line check xcode version update#
If you update Xcode through the App Store app, you often run into problems, and the default installation process will trash your older Xcode versions.
