xcode 没有配备兼容 iOS 版本的 iOS 设备 - 提供的答案都没有帮助
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15629867/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
No provisioned iOS devices are available with a compatible iOS version - none of the answers provided have helped
提问by Shreek
I renewed my developer license and figured out that my private key was on my other laptop in India so I created new certificates and accidentally updated my iOS to the latest version and there is no green light next to iPhone device in organizer window and i am getting this error, I am on XCode 4.2 - "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" There was also no option to "Use for development" when I clicked on the device.
我更新了我的开发者许可证并发现我的私钥在我在印度的另一台笔记本电脑上,所以我创建了新证书并不小心将我的 iOS 更新到了最新版本,并且管理器窗口中 iPhone 设备旁边没有绿灯,我得到这个错误,我在 XCode 4.2 上 - “没有配备兼容 iOS 版本的 iOS 设备可用。将 iOS 设备与最新版本的 iOS 连接以运行您的应用程序或选择一个 iOS 模拟器作为目的地”也没有单击设备时选择“用于开发”。
I have revoked my certificates and also made new certificates
Cleared the certificate history.
Restarted XCode and also my iPhone.
Installed the certificates in my library as well
我已经吊销了我的证书并制作了新证书
清除证书历史记录。
重新启动 XCode 和我的 iPhone。
也在我的库中安装了证书
None of the above has helped! Any clue/help would be appreciated
以上都没有帮助!任何线索/帮助将不胜感激
回答by Monish Bansal
You need to update your xcode after that it will work.
之后您需要更新您的 xcode,它才能工作。
回答by Dilip
You have to update your Xcode to 4.5 (new) version. And after that for run previous iOS you have to add SDK for previous version from Xcode > Preference > Download > Component
there you can see various simulator for iOS 4.3, iOS 5.0, ios 5.1, and iOS 6.0. Download this simulator and you are good to go.
您必须将 Xcode 更新到 4.5(新)版本。在此之后,为了运行以前的 iOS,您必须从Xcode > Preference > Download > Component
那里添加以前版本的 SDK,您可以看到适用于 iOS 4.3、iOS 5.0、ios 5.1 和 iOS 6.0 的各种模拟器。下载这个模拟器,你就可以开始了。
回答by Heisenberg-OBJ
Hi the solution is simple... You need to add a device click SHIFT + CMD + 2 and add devices
嗨,解决方案很简单...您需要添加一个设备单击 SHIFT + CMD + 2 并添加设备
in IOS6 you need to click on menu -> windows -> devices and add it
在 IOS6 中,您需要单击菜单 -> 窗口 -> 设备并添加它
. - click on the left corner side on the project - click info - in the Deployement target - in the IOS Devewlopment Target click the version available for you system
. - 单击项目的左上角 - 单击信息 - 在部署目标中 - 在 IOS 开发目标中单击适用于您系统的版本