xcode 升级后“没有配备兼容 iOS 版本的已配置 iOS 设备可用”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29596757/
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" after upgrade
提问by diegomontoyas
I had Xcode 6.3 beta and iOS 8.3 beta, I updated to the public final versions and now I cannot run anything, getting this error:
我有 Xcode 6.3 beta 和 iOS 8.3 beta,我更新到公共最终版本,现在我不能运行任何东西,得到这个错误:
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.
没有配备兼容 iOS 版本的已配置 iOS 设备可用。将 iOS 设备与最新版本的 iOS 连接以运行您的应用程序或选择 iOS 模拟器作为目标。
I have tried everything other posts have said with no luck (my iPhone is "used for development", Base SDK = latest iOS (iOS 8.3), Xcode 6.3 (6D570), iOS 8.3 (12F70), Deployment target=8.0, deleted derived data, restarted Xcode, opened up iTunes)
我已经尝试了其他帖子所说的一切都没有运气(我的 iPhone 是“用于开发”,基本 SDK = 最新的 iOS (iOS 8.3),Xcode 6.3 (6D570),iOS 8.3 (12F70),部署目标 = 8.0,删除派生数据,重新启动 Xcode,打开 iTunes)
Anyone out there having the same problem?
有没有人遇到同样的问题?
回答by Karthi
Did you try this one?
你试过这个吗?
For XCode 6.3, go to Menu: Product > Destination >and select your Device name. Though it says your device is ineligible it will allow you to select the device. That's it!!
对于XCode 6.3,转到菜单:产品 > 目的地 >并选择您的设备名称。虽然它说您的设备不符合条件,但它允许您选择设备。就是这样!!
If your device version is >= target version, the build will work.
如果您的设备版本 >= 目标版本,则构建将起作用。
回答by Schemetrical
Ask yourself:
问你自己:
Is your iPhone updated to 8.3 release (not beta)?
您的 iPhone 是否已更新至 8.3 版(非测试版)?
Is your project's Base SDK lower than your device?
您项目的 Base SDK 是否低于您的设备?
It only happens if your Base SDK is less than your device version or if your deployment target is higher than your device version.
仅当您的 Base SDK 低于您的设备版本或您的部署目标高于您的设备版本时才会发生这种情况。
Your app should work if Base SDK >= device >= deployment target.
如果 Base SDK >= device >= 部署目标,您的应用程序应该可以工作。
回答by hugey
I had this same issue, restarting everything fixed nothing.
我有同样的问题,重新启动一切都没有解决。
On the general tab of the project, select the app target you want to build. Change your Deployment Target to the most recent one (8.3). You should now be able to build for the device. Select your old deployment target and it will still build for the device.
在项目的常规选项卡上,选择要构建的应用程序目标。将您的部署目标更改为最新的 (8.3)。您现在应该能够为设备构建。选择旧的部署目标,它仍然会为设备构建。