Removing XCode

I appear to have two versions of XCode installed. I don’t know which one is used by Corona to produce builds. If I type XCode into Spotlight I get one result, but if I type ios simulator into spotlight I get two separate results: iOS Simulator and iOS Simulator 4.2

This means that I’m not sure if I’m able to build for the New iPad and I’m very sure that when I load XCode I can’t run a sample Obj-C program in an XCode simulator in New iPad resolution.

Also, it doesn’t matter which simulator I run from Spotlight, neither seem to give me the New iPad capability.

I am running the latest build release of Lion and my App Store does not show any updates to the XCode installation pending. I did used to run XCode from regular non-App Store installs, but that was before App Store.

How can I completely remove XCode and all associated applications and be sure they’re gone? I’m (still) not very familiar with the Mac organisational structure of applications. [import]uid: 8271 topic_id: 27991 reply_id: 327991[/import]

Generally on the Mac, you can drag stuff to the trash.

We have additional notes here:
http://developer.anscamobile.com/reference/xcode43

For Corona purposes, setting your xcode-select to the correct directory should always invoke the correct Xcode.
But if you really want to remove the old Xcode, because Xcode 4.2 and older were not true drag-and-droppable apps unlike good citizen Mac apps, it actually comes with a uninstall script. Xcode 4.2 and older installed to /Developer on your computer by default. There is an “About Xcode.pdf” which contains instructions on if you really, really want to remove all remnants of that Xcode.

[import]uid: 159796 topic_id: 27991 reply_id: 113409[/import]

Thanks, that’s really useful. Not being a mac person some (most) of the instructions are a little lost on me, but that should just be familiarity stuff.

In the terminal I typed: xcode-select -print-path
And it showed me the path is currently: /Developer
So I typed: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
And now it shows: /Applications/Xcode.app/Contents/Developer

Am I doing it right?

I have not tried to remove anything yet. I’m not too bothered as long as I can build for the latest devices and that the lastest version of XCode is being used. [import]uid: 8271 topic_id: 27991 reply_id: 113428[/import]

I’ve just tried rebuilding with Corona build 843 for XCode sim and what do you know- when the sim came up the Hardware menu finally gave me the iPad Retina option!

Thank you very, very much! [import]uid: 8271 topic_id: 27991 reply_id: 113431[/import]