简体   繁体   English

请将设备还原到下面列出的操作系统版本,或更新到最新版本的iOS SDK

[英]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. 我刚刚注册了iOS开发程序。 I've an iPad2 running iOs 5.1.1 and am developing in XCode3.2.6. 我有一台运行iOs 5.1.1的iPad2,并且正在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: 我已经完成了获取配置文件的步骤,并使用我的iPad进行开发,但是它无法正常工作……在XCode中,我看到了列出的iOS代码签名Identity,但是尝试在设备上运行时,我得到了:

No provisioned iOS device is connected. 未连接预配置的iOS设备。 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. XXXXX上的iOS版本与此安装的iOS SDK不支持开发所支持的任何iOS版本。 Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; 请将该设备还原到下面列出的操作系统版本,或更新到最新版本的iOS SDK; which is available here. 在这里可用。

OS Installed on XXXXX 5.1.1 (9B206) 操作系统安装在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 Xcode支持的iOS版本最新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? 我认为这是iOS版本和SDK之间的不兼容问题,但是我该怎么办? The organizer screen seems to let me change iOS but asks me where to find the file image, which I don't have. 管理器屏幕似乎让我更换了iOS,但问我在哪里可以找到文件图像,而我没有。 And I don't know how or where to install a different SDK. 而且我不知道如何或在何处安装其他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. 您的Xcode太旧了。 You must upgrade to at least XCode 4.3. 您必须至少升级到XCode 4.3。 But to upgrade to XCode 4.3, your mac need to be running Lion. 但是要升级到XCode 4.3,您的Mac需要运行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) 这很麻烦,但是在那之后,您将能够为当前在iOS 5上的iPad进行构建。否则,您需要的是在iOS早期版本上的设备,但这是不可持续的,因为苹果可以通过“自动正在更新”您的软件...(或由于某些粗心的设置,当然)

1 Open Xcode 5 (You should have Xcode 5) 1打开Xcode 5(您应该拥有Xcode 5)

2 Choose your iPhone5 (iOS7 or +) on Device Selection in Xcode 5 for your app. 2在Xcode 5的“设备选择”中为您的应用选择iPhone5(iOS7或+)。

3 Close Xcode 5, and Open Xcode 4 3关闭Xcode 5,然后打开Xcode 4

4 Your iPhone5 with iOS7 can now be used as test device. 4您的带有iOS7的iPhone5现在可以用作测试设备。

Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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