Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone OS does not match app deployment version

I am using the Xcode 7.0 beta, trying to use iBeacon thing. 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. however the deployment target is IOS 9.0. How can i fix this problem.

like image 280
Guan Nan Yao Avatar asked Aug 04 '15 16:08

Guan Nan Yao


People also ask

How do I check my iOS deployment target?

Click the Books target and select the General tab at the top. The General tab contains a section with name Deployment Info. The section contains a dropdown menu and three checkboxes, iPhone, iPad, and Mac. Because I am using Xcode 12, the dropdown menu is currently set to iOS 14.3.

How do I upgrade iOS deployment target?

Select pods from the drop-down menu. Build settings may be found by selecting each project and target and clicking on them. Change the iOS Deployment Target version from 8.0 to anything higher than 8.0 in the Deployment subsection (better to try the same project version).

What iOS deployment target should I choose?

You can set it based on your choice, if you would like to cover all the users using iOS devices then you can set deployment target to 10. x OR as per the latest analytical data from the Apple, there are only 7% devices using iOS 10. x or lower, so you can ignore them too and can set deployment target to 11.

How do I change deployment targets in Xcode 11?

Change deployment target Select your app target and go to General tab, under Deployment Info change target to whatever version you want to support.


1 Answers

There are always two solutions when faced with this:

  1. Set the deployment target lower in 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. 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.

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.

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 :)

like image 57
Andrea Avatar answered Oct 30 '22 05:10

Andrea