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.
So, does it mean that I no longer need to adjust my project for iOS 7.x or less?
To change your deployment target, open up your project file in Xcode and check the setting under Build Settings -> Deployment(...) Check this answer to add earlier devices support.
iOS Deployment Target set to 14.1 or whatever version you want to be minimum inside the Project > Build Settings > Deployment for all instances. iOS Deployment Target set to 14.1 or whatever version you want to be minimum inside the Target > Build Settings > Deployment for all instances.
Simply make a manual update to the Development target in the Xcode Pods file. It is your pod files deployment target iOS Version, not your project deployment target iOS Version, that is causing the issue; thus, you must update the deployment iOS version for your pods to anything more significant than 8.0 as well.
In short, every application that runs on one of Apple's platforms has a deployment target. A deployment target is nothing more than the minimum version of the operating system the application can run on. Fire up Xcode and create a new project by choosing the App template from the iOS > Application section.
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.
Manually input "7.0" in the "iOS Deployment Target" text box.
Uncheck the "Update iOS Deployment Target" and press "Perform Changes" / "Done" button,
then the recommended suggestion warning will disappear.
Edit:
You need Xcode 7.x . You can download it from Apple Developer Site.
Open Finder, and go to "Xcode 7.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/".
Copy "7.0" and "7.1" folders and paste them to "Xcode 8.x.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/".
Restart Xcode 8.x.
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.
The minimum deployment target with Xcode 8 is iOS 8. To support target the iOS SDK 7.x and below, use Xcode 7.
If you try to use a deployment target of iOS 7.x or below, Xcode will suggest you change your target to iOS 8:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With