Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

Jordan Lemmons
Jordan Lemmons
3,146 Points

Clang LLVM 1.0 Error

I haven't been able to compile/run any of the code from Objective-C Basics, as I always get the following error:

"Clang LLVM 1.0 Error"

And the following highlighted code:

"error: -fobjc-arc is not supported on platforms using the legacy runtime Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1"

I have a 2007 13-inch MacBook running Lion (10.7.5). Does anyone know what the issue could be and how to fix it?

Darren Kynaston
Darren Kynaston
Courses Plus Student 15,610 Points

Hi Jordan,

I'm having a similar problem as I have a later Mac OS X version 10.7.5.

I think that the file in the MyFirstCProgram has been compiled in a later version of XCODE and therefore will not compile correctly when executed in an earlier version (I'm assuming you have an older version of XCODE that is running on your Mac the same as me?).

Darren.