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.


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.

  • 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
  • 1
    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
  • 1
    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: https://developer.apple.com/xcode/. (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

  • 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
  • 2
    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
  • 1
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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