简体   繁体   English

iPhone OS与应用程序部署版本不匹配

[英]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. Set the deployment target lower in Xcode 在Xcode中将部署目标设置得更低
  2. Use a device that matches the deployment target in the project. 使用与项目中的部署目标匹配的设备。

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.

相关问题 __IPHONE_OS_VERSION_MIN_REQUIRED不会返回部署目标? - __IPHONE_OS_VERSION_MIN_REQUIRED does not return deployment target? 如何提交在 iPhone OS 3 和 iPhone SDK 4 上运行的应用程序版本? - How to submit an app version which runs on iPhone OS 3 and iPhone SDK 4? 我降低了iOS部署目标版本以在iPhone中运行该应用程序,但未应用版本更改 - I lowered iOS deployment target version to run the app in an iPhone but the version change is not applied iOS应用程序在后台显示通知,但在前台iPhone 4s和OS版本9.3不显示通知 - iOS app shows notifications when in background but not foreground iphone 4s & os version 9.3 iPhone应用程序在部署目标为5.0时在iOS 4.3上运行,而在部署目标为4.3的情况下不在ios 5.1上运行 - iPhone app runs on iOS 4.3 when deployment target is 5.0 and does not run on ios 5.1 when deployment target is 4.3 捆绑包App.app不支持Info.plist中指定的最低操作系统版本 - The bundle App.app does not support the minimum OS version specified in the Info.plist 无法再将iPhone与XCode结合使用进行测试,iPhone OS是较新的版本 - Can no longer use iPhone with XCode for testing, iPhone OS is a newer version Sencha Touch应用程序部署到iPhone和Android - Sencha Touch app deployment to IPhone and Android 通过NFC部署iPhone / Android应用 - iPhone/Android App Deployment via NFC 应用程序在部署到iPhone 6s时会调整大小-Xcode - App resizes on deployment to iphone 6s - xcode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM