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

Build Failures with Downloaded Projects

So, after working through a few lessons in Intro to Objective C, in spite of build failures, I double checked my work against the downloaded project files and found even they fail to build, with the following error message:

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

A specific example is the Inheritance lesson.

Currently using Xcode 4.6.2 .

2 Answers

try updating to the latest version of xcode (xcode 5.something). According to this, you can get this error if the project was built on a later version of xcode and then you try to build on an older version

Thanks Stone.