Which version of xcode install on lion ? i use 4.0.2 but doesn't install and says should install snow leopard 10.6.6
Asked
Active
Viewed 4,548 times
4 Answers
3
You need XCode 4.1 for Lion.
Message when running XCode 4.2:
Xcode 4.2 requires Mac OS X 10.6 Snow Leopard
Install the Xcode Tools version that supports Mac OS X 10.7 Lion.
If you have 4.2 on Lion run this:
sudo /Developer/Library/uninstall-devtools –mode=all
-
The "uninstall-devtools" got me going again, but I then had to reinstall via the installer since the App Store still thought I had XCode installed: – Ryan Olson Jan 22 '12 at 16:31
-
http://stackoverflow.com/questions/6777462/xcode-4-1-cant-reinstall-app-store-says-installed – Ryan Olson Jan 22 '12 at 16:31
-
1The accepted answer is dated. Xcode up to 4.6 should be okay with lion 10.7.5 http://en.wikipedia.org/wiki/Xcode#Versions_compare_table – Owen Feb 16 '14 at 18:39
1
If you aren't using the beta version (registered developers only) you have to get the version of XCode from the Mac App Store which is 4.1. That is the only version that will work with Lion.

Bill Burgess
- 14,054
- 6
- 49
- 86
0
I think you need to install directly from the App Store, not from the install disc.