Xcode 4.4 + OSX 10.5作为开发目标= Clang LLVM 1.0错误 [英] Xcode 4.4 + OSX 10.5 as Development target = Clang LLVM 1.0 error

查看:152
本文介绍了Xcode 4.4 + OSX 10.5作为开发目标= Clang LLVM 1.0错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在新的Xcode 4.4:创建一个新项目,一个Cocoa应用程序,并将开发目标设置为OSX 10.5。


如果你运行它,你会得到这个错误:

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


有人可以解释一下吗?我想在我的项目中支持Leopard,但是如果我尝试执行它们,我会收到此错误。


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

推荐答案

不使用ARC。 Leopard不支持ARC。

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

(在Snow Leopard上支持,缺少弱引用)

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

实际的错误btw

我希望对您有帮助。

这篇关于Xcode 4.4 + OSX 10.5作为开发目标= Clang LLVM 1.0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆