Xcode says I have 4.2 installed, but only 4.1 opens


I'm confused about this. When I go on the market or try to download 4.2 to get ios5 it says that it is Installed. I check my Xcode in the about section and it says it is running 4.1. I tried this Install Xcode that is in my applications folder assuming maybe it was for the update and it still shows 4.1. How do I update my xcode?


In your Applications folder, there is an app called <strong>Install Xcode</strong>. Run that to actually install Xcode4.2 after the App Store finishes downloading the upgrade. Weird, unexpected process, I know.


I had the same problem. After reading the answers here I looked for the "Install Xcode.app" file in the /Application directory and it wasn't there. It turns out that I had moved the "Install Xcode.app" bundle out of /Applications after I installed Xcode 4.1 (I didn't think it would be used again). I used Spotlight to remind me where I had moved it to and I ran it again and it updated the files. Now Xcode reports it is at version 4.2 like I expected. This is not at all like any other Apple installs. I wonder why they did it this way.


The App Store doesn't upgrade Xcode 4.1 to Xcode 4.2 for you like it does for all other apps. Instead, it just downloads an installer/upgrader which gets placed in your Applications folder, and proceeds to not tell you anything about it, hoping you can read its mind. To upgrade, you have to do this:

<ol><li>Download the update via App Store.</li> <li>Manually upgrade by running: /Applications/Install Xcode</li> </ol><hr />

Another way to do an upgrade will be to manually remove Xcode 4.x first:

<ol><li>Delete Xcode: $ sudo rm -r /Developer (takes about 20 minutes to finish)</li> <li>Delete any "Install Xcode" files from your Applications folder.</li> <li>Download Xcode 4.2 from the App Store.</li> <li>When finished, install it: <strong>Applications ---> Install Xcode</strong></li> <li>Re-download all Xcode Documents and Components: <strong>Xcode ---> Preferences ---> Downloads</strong></li> </ol>

That's the most extreme way of doing things. If you added anything to your /Developer folder, you should back it up before running the rm -r command, as that will delete EVERYTHING in it.

Your Xcode preferences will remain in-tact, as they're stored in ~/Library/Application Support/Xcode/ and ~/Library/Preferences/com.apple.dt.Xcode......plist


follow the instructions given in <a href="http://simplecodebits.blogspot.com/2011/10/update-to-xcode-42-in-mac-osx-lion.html" rel="nofollow">http://simplecodebits.blogspot.com/2011/10/update-to-xcode-42-in-mac-osx-lion.html</a>


  • Can't install scipy
  • MS Access 2010: Adding transaction management into a form
  • .Settings file in Win Form App, Best Practice
  • Unable to connect to remote MySql server in Asp.Net
  • Mercurial vs Subversion. Whose performance is better?
  • how to create a downloadable csv file in appengine
  • WCF hosting issues
  • Is it expensive to create the Thread object or to actually start the thread?
  • Memory usage and time for execution for another process using C#?
  • How do I prepend to a stream in Bash?
  • Proguard Exception java.io.IOException: Duplicate zip entry
  • Is there an HTML code that can make my background picture transparent and my text non-transparent?
  • ASP.NET MVC2 Error: No parameterless constructor defined for this object
  • dismiss Progress Dialog in another Activity … Android
  • how to set variables in a php include file?
  • Compiling dlib on OS X
  • Installed module is empty
  • How to define and use opencv mat of user type
  • Extracting HTML between tags
  • Reading JSON from a file using C++ REST SDK (Casablanca)
  • C# - Serializing and deserializing static member
  • Sending data from AppleScript to FileMaker records
  • Join two tables and save into third-sql
  • vba code to select only visible cells in specific column except heading
  • How to model a transition system with SPIN
  • ORA-29908: missing primary invocation for ancillary operator
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Transpose CSV data with awk (pivot transformation)
  • How to disable jQuery.jplayer autoplay?
  • How to include full .NET prerequisite for Wix Burn installer
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • What are the advantages and disadvantages of reading an entire file into a single String as opposed
  • coudnt use logback because of log4j
  • How does Linux kernel interrupt the application?
  • Is it possible to post an object from jquery to bottle.py?
  • Append folder name and increment by 1 using batch script
  • Android Heatmap on canvas or ImageView
  • Converting MP3 duration time
  • Conditional In-Line CSS for IE and Others?