开发者

XCode can't find base SDK

XCode 3.2.3 Beta does not allow building for below 3.2.

I opened a project that was made in an earlier XCode. For some reason, the base SDK is reported as missing even after changing it to 4.0. Other projects 开发者_JAVA技巧from earlier XCode do not have this issue.

What can I do?


If you can't choose the SDK at the top left of x-code you have to first set the base SDK in the project settings. Project -> Edit Project Settings. Then choose the "General" tab. At the bottom you can choose "Base SDK for all Configurations:"


Happy to hear it worked!

Editing the .pbxproj in your .xcodeproj might help. In the XCBuildConfiguration section there are values for SDKROOT.


This question has more details on the situation: Install xCode 3.2.3 w/ iPhone SDK 4, get "Base SDK missing", can't see other SDKs


I found I had to edit the Base SDK setting for each of the different build configurations, then the error went away. You need to fix "Release", "Debug" and any others.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜