Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.