简体   繁体   English

基本SDK缺少错误

[英]Base SDK missing error

I am seeing "Base SDK missing" error for some of the projects I open in XCODE. 我在XCODE中打开的某些项目看到“缺少基本SDK”错误。 Few days back I upgraded my XCODE version to 3.2.5 and I am not able to see IOS SDK 4.0 in it. 几天前,我将XCODE版本升级到3.2.5,但看不到IOS SDK 4.0。 Could you please suggest me what should I do? 您能否建议我该怎么办?

Go to the project settings, and select as "Base SDK" "iOS 4.2" or whatever is the current version. 转到项目设置,然后选择“ Base SDK”,“ iOS 4.2”或当前版本。 If you want compatibility to older iOS versions in the AppStore, select as "iOS Deployment Target" the desired lowest version, but be careful when using apis which aren't aren't available in that version ( respondsToSelector: is your friend). 如果要与AppStore中的较旧iOS版本兼容,请选择所需的最低版本作为“ iOS部署目标”,但是在使用该版本中不可用的api时要小心( respondsToSelector:是您的朋友)。

可以在“常规”选项卡下的“项目信息”中设置基本SDK。

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

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