[英]iPhone OS does not match app deployment version
I am using the Xcode 7.0 beta, trying to use iBeacon thing. 我正在使用Xcode 7.0 beta,试图使用iBeacon的东西。 I don't have developer account, but heard the beta can run apps on your device. 我没有开发者帐户,但听说测试版可以在您的设备上运行应用。 But when I was trying to run the program, device OS version is lower than deployment target my phone is iPhone 5 ios 8.4 which is the most new version. 但是当我试图运行该程序时,设备操作系统版本低于部署目标我的手机是iPhone 5 ios 8.4,这是最新版本。 however the deployment target is IOS 9.0. 但部署目标是IOS 9.0。 How can i fix this problem. 我该如何解决这个问题。
There are always two solutions when faced with this: 面对这个时,总有两种解决方案:
1: To set the deployment target, go to the General settings for your app. 1:要设置部署目标,请转到应用程序的常规设置。 In the "Deployment Info" section, change the "Deployment Target" field to at least 8.4 (since that is the device you are using), or lower if you have more devices you want to test on. 在“部署信息”部分中,将“部署目标”字段更改为至少8.4(因为这是您正在使用的设备),如果您要测试更多设备,请将其更低。
2: To update your device to a beta release of iOS, you'll need to go through your Apple developer account (doesn't have to be a paid account) and follow the instructions there to upgrade. 2:要将您的设备更新为iOS的测试版,您需要通过Apple开发者帐户(不必是付费帐户)并按照其中的说明进行升级。
Note: upgrading your primary device (like your ONLY PHONE) to a beta is generally a risky/terrible idea. 注意:将您的主要设备(例如您的唯一电话)升级到测试版通常是一个冒险/可怕的想法。 Option #1 is really the one you want :) 选项#1真的是你想要的:)
确保即使所有其他目标(包括Pods部署目标)与您的项目部署版本匹配,以避免任何类型的奇怪问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.