ios 缺少 XCODE 基础 SDK
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4831187/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCODE Base SDK Missing
提问by Abhinav
I have a application built on IOS 4.1 but recently I have upgraded my XCODE to 3.2.6 which supports IOS 4.3.
我有一个基于 IOS 4.1 的应用程序,但最近我将我的 XCODE 升级到了支持 IOS 4.3 的 3.2.6。
How can I run this application in this XCODE. All I am seeing is the "Base SDK Missing" message even though I am choosing the deployment target SDK as 4.1.
如何在此 XCODE 中运行此应用程序。尽管我将部署目标 SDK 选择为 4.1,但我看到的只是“Base SDK Missing”消息。
Please suggest.
请建议。
回答by Dave
As well as the Deployment Target, you need to set the Base SDK.
除了部署目标,您还需要设置基础 SDK。
Go to the Project menu, then Edit Project Settings. Select the Build tab, and near the top, there is a Base SDK setting.
转到“项目”菜单,然后“编辑项目设置”。选择 Build 选项卡,在顶部附近,有一个 Base SDK 设置。
Sometimes, you also need to clean all targets, and restart Xcode for it to work properly.
有时,您还需要清理所有目标,并重新启动 Xcode 以使其正常工作。
回答by SteveCaine
It's also worth keeping the last released version of Xcode, and install the latest beta in a separate folder. (See Can I have multiple Xcode versions installed?for details on how this is done.) Use the beta to test beta features only, and the final for all your other development work.
同样值得保留最新发布的 Xcode 版本,并将最新的测试版安装在一个单独的文件夹中。(请参阅我可以安装多个 Xcode 版本吗?有关如何完成此操作的详细信息。)使用 beta 仅测试 beta 功能,以及所有其他开发工作的最终版本。