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 trialAdrian Clinansmith
4,379 Pointserror: "Linker command failed with exit code 1(use -v to see invocation)" when adding NS_ENUM to THDiary.h
I typed my code exactly as the video instructed (although I am using xcode 7) and I get that error. However, when I add NS_ENUM to THDiary.m rather than .h the error goes away. I'm just wondering why that is and whether this will cause problems later in the course.
Edit: I'm able to add it to the .h file when I change NS_ENUM to a simple C enum. I would still like to know why that is please.