简体   繁体   English

安装到Xcode 4后,“ Base SDK Missing”

[英]“Base SDK Missing” after installing to Xcode 4

Hello after installing xcode 4 preview 5 I've tried to build a project created with Xcode 3.2.3. 您好,在安装xcode 4预览版5之后,我尝试构建一个使用Xcode 3.2.3创建的项目。 Unfortunately an error message is displayed: 不幸的是,显示了一条错误消息:

Missing SDK: There is no SDK with the name or path '/User/Me/Desktop/Project/IPhone4.0' 缺少SDK:没有名称或路径为'/User/Me/Desktop/Project/IPhone4.0'的SDK

any idea to fix it? 有解决的主意吗?

thanks a lot 非常感谢

Agreed with Kristopher Jhonson. 与Kristopher Jhonson达成协议。 That should work. 那应该工作。

Ref: "Base SDK Missing" after upgrading to Xcode 3.2.5 参考: 升级到Xcode 3.2.5后,“缺少基本SDK”

Project->Edit Project Settings->Build->Base SDK->Latest SDK (4.2)
Project->Edit Project Settings->Build->iOS Target Deployment->iOS 4.2

Project->Edit Active Target (myTarget)->Base SDK->Latest SDK (4.2)
Project->Edit Active Target (myTarget)->iOS Target Deployment->iOS 4.2

And, If you still have problems: 而且,如果您仍然有问题:

Click the box that says base SDK missing, and select: 点击显示缺少基本SDK的框,然后选择:

Simulator -> Debug

That should do it." 那应该做到的。”

These are due to inappropriate Base SDK selection for Project. 这些是由于为Project选择了不适当的Base SDK。 Follow these steps to resolve it : 请按照以下步骤解决它:

  1. Select Project 选择项目
  2. Build Setting 构建设置
  3. Base SDK -> Latest iOS SDK 基本SDK->最新的iOS SDK

在此处输入图片说明

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

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