Dr.Kameleon
Dr.Kameleon

Reputation: 22820

Testing on jailbroken brand-new iOS device - using Xcode?

OK. So, here's some details on my situation :

Now, my issue :

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?

Upvotes: 1

Views: 4439

Answers (2)

Andrew R.
Andrew R.

Reputation: 943

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.

Upvotes: 2

Manish Agrawal
Manish Agrawal

Reputation: 11026

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

Upvotes: 2

Related Questions