简体   繁体   English

XCODE Base SDK丢失

[英]XCODE Base SDK missing

The only option I am able to see in my Base SDK is IOS 4.2 but I can see all SDK versions in IOS Deployment Target. 我在基本SDK中可以看到的唯一选项是IOS 4.2,但我可以在IOS部署目标中看到所有SDK版本。 I am trying to run a project which was written using IOS 3.2 do able to run the current XCODE settings. 我正在尝试运行一个使用IOS 3.2编写的项目,该项目能够运行当前的XCODE设置。

Any clue? 有什么线索吗?

yes, change base SDK to "latest iOS" or one which is available with your XCode installation; 是的,将基本SDK更改为“最新的iOS”或XCode安装中可用的一个; that should work. 那应该工作。

deployment target is the OS version on which the app should be able to run, base SDK is the version you compile and test the app with. 部署目标是应能够在其上运行该应用程序的OS版本,基本SDK是您用来编译和测试该应用程序的版本。

If you don't have anything incompatible between the iOS 3 and iOS 4 APIs, you should be able to compile and run successfully by changing the Base SDK setting on Project - Edit Project settings (Build tab), and Edit Active Target. 如果您在iOS 3和iOS 4 API之间没有任何不兼容之处,则应该可以通过更改“项目”-“编辑项目设置”(“构建”选项卡)和“编辑活动目标”上的“基本SDK”设置来编译并成功运行。 Those are the two places that make reference to the original SDK you used (3.2), and the two places you should change to reflect your current SDK (4.2). 这两个地方引用了您使用的原始SDK(3.2),并且应该更改两个地方以反映当前的SDK(4.2)。

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

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