IPhone OS does not match application deployment version

I am using Xcode 7.0 beta trying to use iBeacon. I don't have a developer account, but I've heard that the beta can run apps on your device. But when I tried to run the program, OS version is lower than the deployment target, my phone is iPhone 5 ios 8.4 which is the newest version. however, the deployment target is IOS 9.0. How can I fix this problem.

+3


source to share


2 answers


When faced with this, there are always two solutions:

  • Set deployment target below in Xcode
  • Use a device that matches the deployment goal of the project.

1: To set the deployment target, go to General Settings for your application. In the Deployment Information section, change the Deployment Target field to at least 8.4 (since this is the device you are using), or lower if you have more devices that you want to test.



2: To update your device to the iOS beta, you need to go through your Apple account (not required to be a paid account) and follow the instructions that need to be updated.

Note. Upgrading your primary device (for example, your ONLY PHONE) to beta is generally a risky / scary idea. Option # 1 is really what you want :)

+4


source


Make sure even all other targets, including the Pods deployment target, match your project deployment version to avoid any fancy issues.



0


source







All Articles