安装到Xcode 4后“Base SDK Missing”

时间:2021-02-28 08:54:12

Hello after installing xcode 4 preview 5 I've tried to build a project created with Xcode 3.2.3. Unfortunately an error message is displayed:

安装xcode 4 preview 5之后你好我试图建立一个用Xcode 3.2.3创建的项目。不幸的是会显示一条错误消息:

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

非常感谢

2 个解决方案

#1


6  

Agreed with Kristopher Jhonson. That should work.

同意Kristopher Jhonson。这应该工作。

Ref: "Base SDK Missing" after upgrading to Xcode 3.2.5

参考:升级到Xcode 3.2.5后“Base SDK Missing”

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

应该这样做。“

#2


1  

These are due to inappropriate Base SDK selection for Project. Follow these steps to resolve it :

这些是由于Project的Base SDK选择不当造成的。请按照以下步骤解决此问题:

  1. Select Project
  2. Build Setting
  3. Base SDK -> Latest iOS SDK
  4. 基础SDK - >最新的iOS SDK

安装到Xcode 4后“Base SDK Missing”

#1


6  

Agreed with Kristopher Jhonson. That should work.

同意Kristopher Jhonson。这应该工作。

Ref: "Base SDK Missing" after upgrading to Xcode 3.2.5

参考:升级到Xcode 3.2.5后“Base SDK Missing”

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

应该这样做。“

#2


1  

These are due to inappropriate Base SDK selection for Project. Follow these steps to resolve it :

这些是由于Project的Base SDK选择不当造成的。请按照以下步骤解决此问题:

  1. Select Project
  2. Build Setting
  3. Base SDK -> Latest iOS SDK
  4. 基础SDK - >最新的iOS SDK

安装到Xcode 4后“Base SDK Missing”