Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

uninstalling xcode 4.6

I would like to COMPLETELY uninstall Xcode 4.6 from my 17" MacBook Pro, 2.3 GHz, Intel Core i7 running Mountain Lion 10.8.2. It will not start properly and always hangs without populating the windows that open.


Is Xcode meant to run in Mountain Lion 10.8.2?


Does X-11 relace that application?

MacBook Pro, OS X Mountain Lion

Posted on Feb 3, 2013 9:21 AM

Reply
9 replies
Sort By: 

Feb 6, 2013 5:56 AM in response to rmatesic

Hi rmatesic,


we won't get help from Apple here, so we must depend on ourselves. I was able to solve the problem on my MacBookPro running Mountain Lion 10.8.2 by deleating all references to projects that had been started and were in various stages of completion.


It would appear that deleting or moving these and also deleting any disposable preference, temporary file or cache, allowed my application to start normally.


I hope this helps.


Vincent

Reply

Feb 6, 2013 7:43 PM in response to rmatesic

Hi RM,


I'm not an expert in this area, but I will try. I noticed that when I tried to start Xcode that the Welcome Window woud load for a split second; it would then be replaced by a work window or file window which would not populate with any data.


This indicated to me that the application was looking for something it could not find. I looked for all files associated with Xcode using an application called EasyFind. I looked for any file that was created or altered during the time I tried to open Xcode.


From there, I tried to use the information gathered in the previous step to identify paths to preferences, caches, temporary work files and other similar files. Mostly, I looked in the USER Library which can be accessed from the GO menu while holding the OPTION key. After I scoured the USER Library for transient xcode files, those changed after colsing the application, I also scoured the root level Library for similar files.


After deleting all of the files that I found, the application started normally. Probably the mosy important files are the preferences and the cache files because they might point to any project you might have started.


As a lowly novice in programing, I probably started a few project files; never did much with them, and they might have been moved ot corrupted.


I hope this helps; if it does'nt just contact me again.


Vincent

Reply

Feb 6, 2013 8:11 PM in response to William Lloyd

William


As RM has also done, I had reinstalled Xcode multiple times with no success, until I followed the proceedure outlined above for RM.


If there are corrupted preferences, cache or project files, the Xcode application WILL NOT START if one of the windows populated with the corrupt info is called at startup.


Vincent

Reply

Feb 7, 2013 2:32 PM in response to BinsuJiro

Hi Vincent,


Yes after looking around it was corrupted prefrences in my ~/Library/prefrences folder especially the ones relating to xcode.


What i did was create a new user on my mac, and copied over the new users xcode prefrences into my one. (of cource i backed mine up.) I restarted the computer and xcode runs again. (4.5.2).


I Have not tested installing 4.6 and running that one. Thankyou for all the help.

Reply

May 29, 2013 10:06 AM in response to BinsuJiro

You can clear your auto-saved and prefrences by doing the following:



remove the contents of :

~/Library/AutosaveInformation/

~/Library/Saved Application State/com.apple.dt.Xcode.savedState



cd /Users/fraidoon/Library/Preferences/

MacBook-Pro-216:Preferences root# ls | grep -i xcode

com.apple.dt.Xcode.plist

com.apple.xcode.plist

com.apple.xcode.plist.lockfile

MacBook-Pro-216:Preferences root# rm `ls | grep -i xcode'


do the same step for /Library/Preferences


and then start your Xcode by holding down "option/alt" key and "Shift" before clicking on "Xcode" application to launch.

Reply

uninstalling xcode 4.6

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.