Algorhythm
Algorhythm

Reputation: 570

IOS 5.0.1 With XCode 4.2.1 Saying "does not match any of the versions of iOS"

I am currently on Xcode 4.2.1 and I am running an IPad 1 using 5.0.1. However, I am getting this error message:

The version of iOS on “Personal iPad” does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.

OS Installed on Personal iPad 5.0.1 (9A405)

Xcode Supported iOS Versions

That's right! It is giving me absolutely no supported iOS versions. I have seen other posts about this for older versions of Xcode/IOS, but they also had supported versions.

Edit: I can run the program just fine in the iOS device simulator. It runs in IOS 5. Also, my provisioning profiles are listed under the device and they have matched my certificate in the KeyChain.

Upvotes: 6

Views: 6782

Answers (3)

user547539
user547539

Reputation: 139

For those who wan't to avoid upgrading Xcode, do the following:

  1. Download the Xcode version dmg containing the iOS SDK you need
  2. Make sure Xcode is not running
  3. Double click the downloaded Xcode dmg, right click the Xcode.app icon, choose "Show Package Content"
  4. Copy Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneOS.platform/Developer/SDKs (on you local machine)
  5. Copy Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/ to /Developer/Platforms/iPhoneSimulator.platform/Developer (on you local machine)
  6. Copy Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ to /Developer/Platforms/iPhoneOS.platform/DeviceSupport (on you local machine)
  7. Right click Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/, choose "Make Alias", rename the alias to "Latest"
  8. Start Xcode

Upvotes: 0

fin
fin

Reputation: 1

I didn't need to uninstall xcode. just start the installer and press "update"...

Upvotes: 0

Algorhythm
Algorhythm

Reputation: 570

Ok! I downloaded the installer program for XCode. Uninstalled XCode and reinstalled it through the installer program and it works like a charm.

So, I ran this to uninstall it:

sudo /Developer/Library/uninstall-devtools –mode=all

Then I just used the installer from the App Store and now it works just fine with my iPad.

Thanks.

Upvotes: 1

Related Questions