简体   繁体   中英

Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK

I've just enrolled in the iOS dev program. I've an iPad2 running iOs 5.1.1 and am developing in XCode3.2.6. I've gone through the steps to get a provisioning profile and use my iPad for development but it's not working... in XCode I see an iOS code signing Identity listed now but on trying to run on the device I get:

No provisioned iOS device is connected. Please check the Organizer to view the status of any connected devices.

My device shows yellow in the Organize screen with message:

The version of iOS on XXXXX 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 XXXXX 5.1.1 (9B206)

Xcode Supported iOS Versions Latest 4.3 (8F190) 4.2 4.1 4.0 4.0.2 4.0.1 3.2 3.2.2 3.2.1 3.1 3.1.3 3.1.2

I assume it's some incompatibility between iOS version and SDK but what am I supposed to do? The organizer screen seems to let me change iOS but asks me where to find the file image, which I don't have. And I don't know how or where to install a different SDK.

Sorry if I explained this badly, I'm pretty lost here. Although I have my app working in the simulator I really don't follow all this provisioning/profile stuff even after reading through the starter guide.

Your Xcode is too old. You must upgrade to at least XCode 4.3. But to upgrade to XCode 4.3, your mac need to be running Lion. It's a hassle, but after that, you will be able to build for your iPad that is currently on iOS 5. Otherwise, you need a device that is on previous version of iOS, but that's not sustainable because apple has a way of "automatically updating" your software...(or because of some careless settings, of course)

1 Open Xcode 5 (You should have Xcode 5)

2 Choose your iPhone5 (iOS7 or +) on Device Selection in Xcode 5 for your app.

3 Close Xcode 5, and Open Xcode 4

4 Your iPhone5 with iOS7 can now be used as test device.

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM