How to uninstall the latest Xcode 6 CLI tools on OSX 10.9.5? - osx-mavericks

I manually installed Xcode 6 CLI tools on OSX 10.9.5, but I want to install the whole Xcode now. How can I completely remove the CLI tools?
This script seems only for Xcode 4.x: How do I uninstall xcode 5 command line tools?

Related

Install Xcode 7 on Mac OS X 10.10 Yosemite [duplicate]

This question already has answers here:
Can I have multiple Xcode versions installed?
(13 answers)
Closed 7 years ago.
I am running Mac OS X 10.10 Yosemite and have Xcode 6.4 installed.
In order to run my Apache Cordova app on iPhone 6 with iOS 9 i need to have Xcode 7 and higher.
Is there a way to install and use Xcode 7 along with Xcode 6 on my Mac?
If yes please advise with the steps.
Edit
I was able to install Xcode 7.3 beta 2, but i can't open the app. When i go to /Applications folder and do open Xcode-beta.app i get this error LSOpenURLsWithRole() failed with error -10825 for the file /Applications/Xcode-beta.app.
Its as simple as that just rename the exciting xcode to some other name and then install the new version.If your are using xcode-command line tools use the xcode-select command in terminal to switch the command-line tools to the current version.man xcode-select in Terminal will give you the command doc.
Ya you can use it. Just change download the dmg file of xcode 7 and install it. At installation time keep it both. No replace

xcode 6.1 installation process

I installed Yosemite a couple of days ago. It really broke quite a lot of things - broke my favorite game which won't start, broke my php installation, my wordpress installation, and now Homebrew! But the spotlight feature is nice, not that it makes up for it lol.
Nonetheless I'm trying to fix Homebrew which is telling me to update to XCode 6.1. I've run software update and it says the XCode 6.1 has been installed (sort of). It has:
Command Line Tools (OSX 10.10) - Version 6.1 Installed Oct 17, 2014 (twice actually)
Xcode Version 6.0.1 - Installed Oct 17, 2014
And no pending updates.
But when I check the locations tab in Xcode preferences - it says it's using Command Line Tools 6.0.1. And when I run brew doctor it tells me to upgrade to 6.1 CLT.
How do I update the CLT to 6.1? (note I'm not on Apple Developer program)
The link that #richard-g provided doesn't seem to work anymore, but I just found the dmg file on
https://developer.apple.com/downloads/
using an appleID that has only a free developer login.
On that page I found both Xcode 6.1 and the command line tools for OS X 10.10 for Xcode 6.1.
Before finding that, on the first machine that I upgraded from Maverick to Yosemite that already had Xcode installed on it, I was able to upgrade Xcode in the App Store and then run Xcode and from within it download and upgrade the command line tools, but App Store continues to show Xcode as one update available with just an "Open" button. I'll see if installing the downloaded dmg takes care of that, and in any case I have other machines to upgrade and could use the offline install package. The download site seems very very slow, though, the 2.5GB download is taking all day.
It worked - installing the 6.1 XCode from this download https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_6.1/xcode_6.1.dmg
and it worked fine. I just had to go to Xcode -> Locations and select the 6.1 CLT, then open a new command prompt.
brew doctor
Your system is ready to brew.
========================================================
Sorry as per comments - the link to XCode is no longer working
As you have Xcode 6.1 installed, you can run xcode-select --install from a shell to download the correct CLT.
This link works without without requiring login:
https://developer.apple.com/downloads/index.action

Running both Xcode 4.6 and Xcode 5 (DP5) - Homebrew showing an error

Context:
I have both Xcode 4.6.3 and Xcode 5 (DP5) installed. I've also
installed command line tools on both (via the preference settings).
I just installed Homebrew and ran brew doctor in the terminal and I get the following error:
Question
Is this likely because I have two versions of Xcode installed?
Is there a way to fix this?
Do I need to fix this?
You don't need to reinstall Xcode. Go to Xcode preferences menu and click on downloads. You will see option to install "Command Line Tools" under Components. After that's installed homebrew stops complaining.

Uninstalling XCode can interrupt MacPorts?

I have Xcode 4.5 Developer Preview 1 and now I want to download Xcode 4.6. Before downloading the latest Xcode, I want to clean uninstall the old one. Not sure yet how to do that. But I'm afraid it will interrupt the MacPorts functions. MacPorts needs Xcode Command Line Tools. So is it possible to completely uninstall the old one first and then download the latest version later? I also want to upgrade Xcode 4.5 DP1 to Xcode 4.6 if possible. I installed Xcode 4.5 DP1 from DMG file. I'll install Xcode 4.6 from App Store.
You should upgrade XCode via App Store.
You should be able to upgrade Xcode and the command line tools without problems. MacPorts might not work while you don't have a version of Xcode (and the command line tools) installed, but will start working again after the update.

How do i install additional packages for Xcode on OSX Lion to allow MacPorts to work

When I try and install MacPorts it complains
'Xcode is not installed, or was installed with UNIX Development (10.5+) or Command Line Support (10.4) deselected.'
I do have Xcode installed from the Appstore so I guess I just have to install these extra parts but how ?
Ive read a couple of questions on Stack Overflow about this but I think the answers must be outdated as they do notmake sense for me, I do not have an Xcode dmg I can reinstall from, and I can't see anything useful in /Developer either, or any preferences within Xcode itself.
I only want Xcode for the purposes of using Macports so I'm not familiar with it.
You probably got Xcode 4.1 from the Mac App Store. In that case, you haven't got Xcode 4.1 installed. However, you now have an Xcode installer in your Applications directory.
Spotlight should find it in any case.
The command line tools aren't included in the default install of Xcode anymore.
Goto the Xcode Preferences --> Downloads Pane --> click the Install button beside "Command Line Tools".
If you don't have Xcode installed you can get the command line tools separately as explained here..
http://osxdaily.com/2012/07/06/install-gcc-without-xcode-in-mac-os-x/
The App Store installs the XCode installer, not Xcode itself. The installer is in your applications folder. Run that.
Today, 16 Feb 2012, when I installed Xcode 4 from the App Store, there was no Setup. Just the app installed, because it was Xcode 4.3 !
Make sure that you install Xcode 4.2 with UNIX Devel. to MacPorts works!
To get the Xcode 4.2 go to https://developer.apple.com.

Resources