I am trying to provision my app to run on my iPad for testing. I have everything set up properly, but in the organizer, Xcode displays this message:
The version of iPhone OS on “iPad” does not match any of the versions of iPhone OS
supported for development with this installation of the iPhone SDK. Please restore the
device to a version of the OS listed below, or update to the latest version of the iPhone SDK;
and then it gives me a list of available iOS versions (3.2.2 is not one of them.)
I have restored it back to the factory settings and done everything I could find online and searched around. Does anyone know what could be causing this problem? It won't let me compile it to the device as a result. Thanks!
Which version of the iOS SDK are you using? Make sure you're using the most recent.
Related
I would like to test an application on my iPhone and iPad.
The iPhone is running 5.1 and the iPad is running 5.1.1
I am getting this error:
Xcode cannot run using the selected device. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS
device with a recent enough version of iOS to run your application or
choose an iOS simulator as the destination.
I have a developer's license and have followed the provisioning wizard in the Apple website members section. I've installed everything like it said (certificate, provisioning profile in keychain, etc..) but am still getting this error.
I've tried compiling it on 4.3, 4.2, 4.1, and basically all of the options that are available in the build section.
In the Xcode Organizer, my devices show up with an Orange icon next to them. This is the 'error' message on this screen:
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.
This is all on VMWare on OS X 10.6.7.
I've read the other posts where people had a similar problem and tried the solutions proposed (which were mostly comprised of trying to run on older builds) and nothing worked so far.
Notice how you are compiling with an SDK version less than the version on your devices? That's a problem. For iOS 5 you need at least Xcode 4.2 (which comes with the 5.1 SDK).
OK. So, here's some details on my situation :
I've got a brand-new iPhone 4.
The iOS version has been updated to 5.1.1 (9B206).
The phone has been jailbroken using redsn0w.
I'm running Lion (10.7.4) and Xcode 4.3.
Now, my issue :
I'm creating a sample test app, which runs fine under the simulator.
Followed everything here, but without any result.
Also tried enabling my device via Organizer ("Use as development device").
When I click on "Use as development device", it keeps saying...
The version of iOS on “Dr.Kameleon’s iPhone” 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 Dr.Kameleon’s iPhone
5.1.1 (9B206)
Xcode Supported iOS Versions Latest
5.0 (9A334)
4.3
4.2
While, when I try running on my "iOS device" (that's how it appears), it claims there's no device with a proper iOS version.
No provisioned iOS devices are available with a compatible iOS
version. Connect an iOS device with a recent enough version of iOS to
run your application or choose an iOS simulator as the destination.
Any ideas? What's going wrong?
Look, everyone who says you can't build directly on a jailbroken device is wrong. You can, and it's quite easy to do. If you don't have a provisioned device (and it looks like you don't), using this guide will work. I've tested it myself on Lion running Xcode 4.3 (it even works on later versions, but those are under NDA).
The real issue seems to be that, for whatever reason, you don't have the iOS 5.1 SDK - you're using the iOS 5.0 SDK. You can confirm this by looking in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport. If you don't see any mention of 5.1, you don't have it installed. Try downloading and installing Xcode again (I believe it's 4.3.2 now), which should have the iOS 5.1 SDK bundled with it.
This error is not due to the jailbroken iPhone, its basically due to your lower version of Xcode which doesn't support the latest iOS, try upgrading your Xcode version to latest.hope it helps
My iPhone has version 4.2.8 (8E401). I don't want to update it as I'm writing a 4.2 app right now and want to test with my phone. I installed iOS5 Beta 7 on my Mac a few weeks ago and was able to see my phone listed in the Device List to Run/Debug my app along with the various Simulatior choices since then.
Last evening, though, all of a sudden it doesn't recognize my phone. The only phone device listed is the generic 'iOS Device'. When I look at my phone information in XCode's Organizer, it has a question mark next to my device name and a yellow dot. It also displays this message:
The version of iOS on “My iPhone” 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 My iPhone 4.2.8 (8E401). Xcode Supported iOS Versions
Latest 5.0 (9A5313e)
Is there a way to get the iOS 5 XCode to recognize my iPhone OS version without having to upgrade (which I don't want to do just yet) or have to restore to a previous version?
Seems like this message just popped up without me making any changes to my iPhone or iOS installation. Any work-around would be appreciated.
Thanks
Up until today, I have been able to test my app on my CDMA iPhone, running 4.2.10. I am building against the 4.3 SDK, with a deployment target of 4.0.
After restarting my phone today, Xcode will no longer allow me to test the app on my phone, with this message in the Organizer window: "The version of iOS on "iPhone" 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, or update to the latest version of the iOS SDK"
Unfortunately there are some bugs with location services in the simulator, so I can't use that for testing either.
Can I even install the 4.2 SDK in Xcode 4? Is anyone else having this problem, or (hopefully) does anyone know how to fix it? Thanks for any help!
If you install xcode 4 it will actually gather the build chain from your phone and use it for compiling. You can see this in the organizer window (Window->Organizer?).
You know I had that same issue i found that I had to download the latest xcode and reinstall because for some reason the ios that came with xcode knew how to build on my phone. Sorry man.
All,
Is there a way to download older versions of the iPhone simulator to test an application with an older version of the iPhone OS? I'm running Xcode 3.2.2. and it only has iPhone OS 3.1.3 and I need to test on 3.1.2.
Thanks in advance
Head to
http://connect.apple.com
Click "Developer Tools" on the right
You can get all the way back to Xcode 1.0 if you like
I've been trying to do the same thing. The answer seems to be rather unsatisfying: You cannot use the simulator to test if your app runs on a previous iOS version. It only works on the device, according to Apple:
iPhone OS Note: Mac OS X v10.6 does
not support using iPhone Simulator
SDKs prior to version 3.0. In
addition, when building with the
simulator SDKs, the binary runs only
on the same OS version as the SDK, not
on earlier or later versions.
This seems really dull. How am I supposed to test backwards compatibility without having one physical iPhone for each SDK version? Not good.