Xcode 8 recommend me to change the min iOS Deployment Target from 7.1 to 8.0

X.Jian picture X.Jian · Jun 14, 2016 · Viewed 51.7k times · Source

When I use the Xcode 8 beta(8S128d) to open my project,it recommend me to change the min iOS Deployment Target to 8.0 instead 7.1. And I found that there is no option less than 8.0 in the iOS Deployment Target list.

Deployment Target

So, does it mean that I no longer need to adjust my project for iOS 7.x or less?

Answer

Leon picture Leon · Jun 15, 2016

I think if the app has many users who are using iOS 7, it would be necessary to adjust project to support iOS 7.

I have tried build, debug, archive with deployment target 7.0 using Xcode 8 Beta(8S128d).
All succeeded. Also successfully export and install the ipa on my iPhone 4 (iOS 7.1.2(11D257)) .

I did the followings to change my project deployment target to 7.0 and remove the suggestion warning.

  1. Manually input "7.0" in the "iOS Deployment Target" text box. Manually change iOS deployment target

  2. Uncheck the "Update iOS Deployment Target" and press "Perform Changes" / "Done" button,
    then the recommended suggestion warning will disappear. Recommended Suggestion



Edit:

Make Xcode 8.x debug your apps on iOS 7.x devices.

  1. You need Xcode 7.x . You can download it from Apple Developer Site.

  2. Open Finder, and go to "Xcode 7.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/".

  3. Copy "7.0" and "7.1" folders and paste them to "Xcode 8.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/".

enter image description here

  1. Open "Xcode 8.x.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/SDKSettings.plist"

enter image description here

  1. Add values, "7.0" and "7.1", to key, "Root/DefaultProperties/DEPLOYMENT_TARGET_SUGGESTED_VALUES", according to the following screenshot.

enter image description here

  1. Restart Xcode 8.x.

  2. Now you can choose "7.0" or "7.1" in the "iOS Deployment Target" text box list and debug your apps on iOS 7.x devices.