Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to begin coding for iPhone and iPad so I installed Mac OS X Lion on VMWare. I tried to install xcode_3.2.5_and_ios_sdk_4.2_final (3.5)GB from the Apple developer website, but I can't install it because an error message appears saying "error on installation, contact your adminstrator"

I then downloaded xcode_3.2.5_and_ios_sdk_4.2_final (4.1)GB, but when I launch it I receive an error message stating "the following disk image couldn't be opened".

I am so new to Mac OS X, what am I doing wrong?

  1. is there SDK for Lion and SDK for another version of Mac OS X?
  2. are there special configuration considerations for VMWare?
  3. how do I know which version of iOS I have?

I know this is a silly question, but I could really use the help.

share|improve this question

migrated from Oct 31 '12 at 15:26

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

There are multiple versions of Xcode for each of the Mac OS X operating systems.

Xcode 3.2.5 is for an older version of Mac OS X and will not run on Mac OS X Lion. You will need to download Xcode version 4 or later to install on Mac OS X Lion.

If you are installing the latest version of Xcode, it is now a universal binary for both Lion and Mountain Lion.

If instead you are trying to install an older version the installer will say something to the effect of "Xcode 4.x.x for Lion".

Xcode is also now available on the Mac App Store for free: click the Apple menu then click "App Store..." and then search for Xcode to install it.

share|improve this answer
when i tried to install xcode 4.5 i got this message you can't use this version of the application xcode with this version of max os x . you have max os x 10.7.2 , the application requires mac os x 10.7.4 or later – totti roma Oct 24 '12 at 16:31
You need to install Mac OS X system software updates. Click the Apple menu in the upper left corner of the desktop then click "Software Update..." to install the updates you need to make the installer work. – Thuggish Nuggets Oct 24 '12 at 16:33
ok i will update the max os, but then have i need to install SDK ? – totti roma Oct 24 '12 at 16:37
Yes, you need to install Xcode (which includes the latest SDK) after installing the system updates to Mac OS X. – Thuggish Nuggets Oct 24 '12 at 16:39
Glad to help! Hopefully this will resolve your issues and you can be developing Apps soon! – Thuggish Nuggets Oct 24 '12 at 16:45

You should download it there: (at least 4.3.2 for lion. latest is 4.5.1)

By the way xcode_3.2.5_and_ios_sdk_4.2_final are old version of Xcode, so it's normal you can't run it on Lion

share|improve this answer
i already download it from that site – totti roma Oct 24 '12 at 15:59
i also download xcode 4.5 but without sdk, can i run it alone? – totti roma Oct 24 '12 at 15:59
Yes, you are able to run it alone without sdk, as i remember sdk will automatically install – edzio27 Oct 24 '12 at 16:02
i will try it, just some mins please – totti roma Oct 24 '12 at 16:04
Yeah you can download Xcode alone, but xcode is a sdk, and ios4.2 is actually the simulator (+ documentation). We're now in iOS version 6, and Xcode 4.5.2. That's why your .dmg is obsolete. You can download Xcode, and it will automatically asking you to download latest iOS simulator + documentation. – Mr Bonjour Oct 24 '12 at 16:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.