Xcode 8建议我将最小iOS部署目标从7.1更改为8.0 [英] Xcode 8 recommend me to change the min iOS Deployment Target from 7.1 to 8.0

查看:128
本文介绍了Xcode 8建议我将最小iOS部署目标从7.1更改为8.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用Xcode 8 beta(8S128d)打开我的项目时,建议我将最小iOS部署目标更改为8.0而不是7.1. 而且我发现iOS部署目标列表中的选项不低于8.0.

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.

那么,这是否意味着我不再需要为iOS 7.x或更低版本调整项目?

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

推荐答案

我认为,如果该应用程序有许多使用iOS 7的用户,则有必要调整项目以支持iOS 7.

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

我尝试使用Xcode 8 Beta(8S128d)在部署目标7.0下构建,调试和存档.
一切成功.还可以成功将ipa导出并安装到我的iPhone 4(iOS 7.1.2(11D257))上.

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

我做了以下操作,将项目部署目标更改为7.0,并删除了建议警告.

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

  1. 在"iOS部署目标"文本框中手动输入"7.0".

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

取消选中更新iOS部署目标",然后按执行更改"/完成"按钮,
,则建议的建议警告将消失.

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



编辑:

使Xcode 8.x在iOS 7.x设备上调试您的应用.



Edit:

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

  1. 您需要 Xcode 7.x .您可以从 Apple开发者网站下载.

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

打开 Finder,然后继续进入" Xcode 7.x .app/Contents/Developer/Platforms/iPhoneOS.platform / DeviceSupport /".

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

复制" 7.0 "和" 7.1 "文件夹,并粘贴到" Xcode 8.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/".

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

  1. 添加值" 7.0 "和" 7.1 ",以键"Root/DefaultProperties/ DEPLOYMENT_TARGET_SUGGESTED_VALUES >",根据以下屏幕截图.
  1. Add values, "7.0" and "7.1", to key, "Root/DefaultProperties/DEPLOYMENT_TARGET_SUGGESTED_VALUES", according to the following screenshot.

  1. 重新启动Xcode 8.x .

现在,您可以在" iOS部署目标"文本框列表中选择" 7.0 "或" 7.1 "并进行调试您在iOS 7.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.

这篇关于Xcode 8建议我将最小iOS部署目标从7.1更改为8.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆