LLVM 2.0 can't build for iPhone simulator. GCC 4.2 works fine

こ雲淡風輕ζ 提交于 2019-12-03 07:36:52

Might be a bug in Xcode 3.2.4 or the SDK configuration.

Try placing a line like one of these in your Build Settings Preprocessor Macros:

-D__IPHONE_OS_VERSION_MIN_REQUIRED=040100 

or

-D__IPHONE_OS_VERSION_MIN_REQUIRED=030103

It sounds to me like your installation is borked.

When you installed Xcode4 did you make sure to install it to a completely separate directory to your existing Xcode install?

It could also have something to do with your include paths or something in that vein. I'm not too sure how to go about fixing that.

I would suggest backing up any custom templates etc. and running the uninstall script for both Xcode 3.x and 4, and then reinstalling to see if that fixes the issues.

Does this issue persist with XCode 3.2.5?

Just curious since I haven't downloaded it yet.

Without violating NDA (Xcode 4 is prerelease software), I recommend you read this thread in the Apple Developer Forums.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!