开发者

error: There is no SDK with the name or path 'iphoneos'

The error: There is no SDK with开发者_开发技巧 the name or path 'iphoneos'

What does it mean?


double click on project file to open the Project info window. Set "Base SDK for All Configuration" to latest available sdk on your system.

Quit the xcode and open it again!


I guess you are trying to build on xcode 4.

Select the Project, go to Build settings -> Add i386 under valid Architecture

ARCHS = $(ARCHS_STANDARD_32_BIT)

SDKROOT = iphoneos3.1.3

ONLY_ACTIVE_ARCH = NO

SUPPORTED_PLATFORMS = iphonesimulator iphoneos

VALID_ARCHS = armv6 armv7 i386


Open up your Xcode project and click on your project in the sidebar on the left. It should be labels your_project_name.xcodeproj
Once you click it, the main Xcode view should have a tab bar right at the top of the view. Right under the tool bar. Here click "build settings" search for "base sdk" click on the drop down menu next to it and select the option highest up on the list.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜