How to downgrade Xcode to previous version? - xcode

I have to use Xcode occasionally, and have now come across a problem where I've upgraded to Xcode 4.6, but another piece of software I'm using doesn't support it, so I need to go back to Xcode 4.5.
I'm not used to the way Macs work in general, so if the answers provided could be written with that in mind, that'd be helpful. :)

I'm assuming you are having at least OSX 10.7, so go ahead into the applications folder (Click on Finder icon > On the Sidebar, you'll find "Applications", click on it ), delete the "Xcode" icon. That will remove Xcode from your system completely. Restart your mac.
Now go to Xcode Releases page or Apple Developer More Downloads and download an older
version of Xcode, as needed and install. You need an Apple ID to login to that portal.
After install, you can also switch between multiple versions:
Xcode > Preferences > Locations > Command Line Tools

When you log in to your developer account, you can find a link at the bottom of the download section for Xcode that says "Looking for an older version of Xcode?". In there you can find download links to older versions of Xcode and other developer tools

Related

Xcode version in App Store and in Xcode do not match

I am having a strange issue. I need access to Xcode 10 to test my app. So I downloaded and installed the latest version of Xcode from the App Store to my Mac. I have confirmed this in the App Store:
See in the top left in the above image, version 10.1 of Xcode is installed.
But to my frustration when I open Xcode it still is version 9, as shown in this screen shot:
See just below the Xcode logo it says version 9.4.1
What is going on? I tried restarting my computer again but the Xcode version is still 9.4 when i open xcode. Is there somewhere I can choose to use version 10 of Xcode?
You might have possibly installed multiple xCode applications in your system.
Option 1:
Select Finder -> Applications
Check if there are multiple xCode applications.
Option 2:
Go to your project folder.
Right click . xcodeproj or .xcworkspace file -> Open With
This will show all the xCode applications installed in system.

Downgrade Xcode 5 to Xcode 4.6.1

I have been trying to research a way that I would be able to revert back to Xcode 4.6.1, I can't seem to find a solution.
I've seen that in the past people have downgraded their Xcode.
Is there a way that I can downgrade Xcode 5 back to Xcode 4.6.1?
I have older versions of apps which clients do not wish to upgrade. However I still need to make amendments to theses applications. I need them to remain the same.
Is there any way that I can downgrade Xcode?
Move Xcode 5 to the Trash. Download and install Xcode 4.6. You can download older versions of Xcode from the following URL:
https://developer.apple.com/downloads/index.action
You can also have both Xcode 4 and 5 installed. You will have to rename your existing Xcode 5 app from Xcode to another name like Xcode5 before you install Xcode 4.6 in the Applications folder.
I followed your instruction to downgrade xcode 5.1 to xcode 4.6.1. The steps seems to work, however, when I try to install the command line tool, the Components tab of the Downloads preferences panel shows "No components are available". How do I get the command line tool to show up in the component panel?
Before the downgrade, with xcode 5.1, I did "xcode-select —install" to install command line tool. I assume it has been removed when I dragged the xcode 5.1 to the trash.

XCode 3 -> 4 confusion

I've just upgraded from OSX 10.6 -> 10.8. I had XCode 3.2.6 installed and I installed 4.5 through the appstore. I appear to have both versions installed now (which I don't mind) but I'm lost as to where everything lives now, /Developer doesn't seem to have anything new in it.
Also, my commandline tools like svn have stopped working now, they are not found. I know XCode 4 has newer and better tools (newer SVN, Git, etc) but how do I get it set up nicely? I thought cmd-line tools were part of the XCode 4 installation.
Uninstalling 3.2.6 is fine if needed, I just want to avoid clashes.
To answer your specific questions, Xcode 4.5 is in your Applications folder. It is packaged as a single app instead of using the /Developer folder. Xcode 3.2.6 is in your /Developer folder. You can keep both versions installed.
Xcode 4.5 does not install the command line tools initially. You can install them from Xcode's Downloads preferences. You can also install them by choosing Xcode > Open Developer Tool > More Developer Tools.
I'd look up any transition guides for moving from Xcode 3 to 4. There are lots of different features, so it may take a while to get used to the new layout and where Xcode puts things.
Try these links for starters:
http://docs.xamarin.com/ios/tutorials/transitioning_from_xcode_3_to_xcode_4
http://beginning-mac-programming.timisted.net/xcode-4-general-overview.html

Is it possible to install Xcode 4.3 and Xcode 4.5 side-by-side on Mac OS X 10.7.4?

Is it possible to install Xcode 4.3 and Xcode 4.5 side-by-side on Mac OS X 10.7.4?
I'd like to install the preview but would rather have some confirmation before going ahead.
The Release Notes make no mention of Xcode 4.3.
Yes, if you download your Xcode versions from the developer site, you can just put them in two different folders. They can even be installed in the same folder if you give the .app bundles two different names.
You can also keep both icons in the Dock.
Additionally for command line tools use command xcode-select to switch current xcode.

Does Xcode 4.3 include Quartz Composer?

I just installed Xcode 4.3 from the App Store. As I started it first, it asked if I want to delete existing 4.2.
Does 4.3 include Quartz Composer? Where is it located? Or should I say no and keep 4.2 for QC?
No.
But you can download Quartz Composer separately: http://developer.apple.com/ > login with valid developer Id > Mac > View all downloads > Graphics Tools for Xcode.
Slightly faster instructions:
Visit https://developer.apple.com/downloads/index.action?name=Graphics
Log in
Download the "Graphics Tools for Xcode" DMG
This has changed. Open XCode. In the top menu go to XCode > Open Developer Tools > More Developer Tools > and then download the "Graphics Tools for Xcode"
I don't know if it does or not, but you can always install 4.3 alongside 4.2. Just choose to install it in a different directory (I usually name my extra installations using the version of Xcode, like "Developer 4.3"). So you can go ahead with the installation and check for Quartz Composer. If you decide to use Xcode 4.3, just remove your existing "Developer" folder and rename your "Developer 4.3" folder to "Developer".
Quartz Composer is part of Graphics Tools, which you can easily download from Apple Developer website :) Some tools are now available as separate downloads since Xcode 4.
Please note that Quartz frameworks and Quarts Composer View are already available on Xcode 4, so you can embed Quartz compositions without a problem into Xcode app. If you want create Quartz compositions, just download the latest Graphics Tools pack from Apple Dev Download site.

Resources