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 Objective-C Basics (Retired) Fundamentals of C Compile and Run

Emily Larcher
Emily Larcher
220 Points

having trouble running first program

I get this when I try to run my program, clang: error: linker command failed with exit code 1 (use -v to see invocation)

Are you using Parse framework within your application

1 Answer

Emily,

this seems to be a very common thing here on the forum I've realized but regardless, the error you're getting means it is missing a file and can't link everything together in order to run the app. go through your applications file tree and look for a class thats text is highlighted red, that file is the missing file. So the " linker command failed with exit code 1 " error means you're missing at least one file needed in order to build.

Best, Kai.