IOS 5.0.1 With Xcode 4.2.1 Saying "Doesn't match any version of iOS"

I am on Xcode 4.2.1 now and I am running iPad 1 using 5.0.1. However, I get this error message:

The iOS version on the "Personal iPad" does not match any of the iOS versions supported for development with this iOS SDK installation. Restore the device to the version of the specified OS. below or upgrade to the latest iOS SDK; which is available here.

OS installed on personal iPad 5.0.1 (9A405)

Xcode Supported iOS Versions

It is right! This gives me absolutely no supported versions of iOS. I saw other posts about this for older versions of Xcode / IOS, but they also supported versions.

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

+6
source share
3 answers

Ok! I downloaded the installer for Xcode. Remote Xcode and reinstall it through the installer, and it works like a charm.

So, I ran this to remove it:

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

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

Thanks.

+1
source

I did not need to remove xcode. just run the installer and click "Update" ...

0
source

For those who do not want to update Xcode, follow these steps:

  • Download the Xcode dmg version containing the required iOS SDK
  • Make sure Xcode is not running.
  • Double-click the downloaded Xcode dmg, right-click the Xcode.app icon, select "Show Package Contents"
  • Copy content / Developer / Platforms / iPhoneOS.platform / Developer / SDK / in / Developer / Platforms / iPhoneOS.platform / Developer / SDK (on your local computer)
  • Copy Content / Developer / Platforms / iPhoneSimulator.platform / Developer / SDK / in / Developer / Platforms / iPhoneSimulator.platform / Developer (on your local computer)
  • Copy content / Developer / Platforms / iPhoneOS.platform / DeviceSupport / to / Developer / Platforms / iPhoneOS.platform / DeviceSupport (on your local computer)
  • Right-click Content / Developer / Platforms / iPhoneOS.platform / DeviceSupport /, select "Make an alias", rename the alias to "Last"
  • Run xcode
0
source

Source: https://habr.com/ru/post/904951/


All Articles