Xcode 4.4 + OSX 10.5 as Development target = Clang LLVM 1.0 error

℡╲_俬逩灬. 提交于 2019-12-25 03:27:15

问题


Try this on the new Xcode 4.4: create a new project, a Cocoa application, and set the Development Target to OSX 10.5.

If you run it, you'll get this error:

Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1


Can someone explain this? I want to support Leopard too in my projects but I get this error if I try to execute them.


回答1:


Make sure your project does not use ARC. ARC is not supported on Leopard.

(It is supported on Snow Leopard, sans weak references)

The actual error, btw, is probably before the line you copy/pasted in your question.

I hope that helps.



来源:https://stackoverflow.com/questions/11728634/xcode-4-4-osx-10-5-as-development-target-clang-llvm-1-0-error

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