简体   繁体   English

iOS部署目标丢失

[英]iOS Deployment Target Missing

I'm updating an older iPhone application, and the usual 'Base SDK Missing' pops up. 我正在更新一个较旧的iPhone应用程序,并弹出通常的“Base SDK Missing”。 When I open the project settings and try to set the 'iOS Deployment Target,' it's not in the list. 当我打开项目设置并尝试设置“iOS部署目标”时,它不在列表中。 This is the first time I've encountered this. 这是我第一次遇到这个。

I'm able to set the Base SDK to 'Latest SDK' but many of the options are missing from the settings. 我可以将Base SDK设置为“Latest SDK”,但设置中缺少许多选项。

What should I do to update this project so it has all the settings? 我该怎么做才能更新这个项目,以便它具有所有设置?

Did you select "Base SDK for all configurations" in the General tab of the Project Settings to your Latest SDK as if you dont set the base SDK there then by default it will show as " < Multiple Values > ". 您是否在“项目设置”的“常规”选项卡中为“最新SDK”选择了“所有配置的基本SDK”,就像您没有在那里设置基本SDK一样,默认情况下它将显示为“<多个值>”。

Cheers 干杯

Change to the latest deployment target in the project settings and then reload the project. 更改为项目设置中的最新部署目标,然后重新加载项目。 Failing that restart Xcode but this is not necessary. 没有重新启动Xcode,但这不是必需的。

要修复此错误,我还必须更改:构建 - >编辑活动目标 - >构建 - >架构 - >基础SDK

I had the same problem. 我有同样的问题。 but solved it this way: 但是这样解决了:

Select your project in the left hand side, then select the target, and then in SUMMARY , select the deployment target. 在左侧选择项目,然后选择目标,然后在“ 摘要”中选择部署目标。

My problem was that I had not seen this summary page, and it was so simple! 我的问题是我没有看到这个摘要页面,它很简单!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM