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!
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
George S-T6,624 Points
ld: 3 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) Help?
Just on the Blog Reader project, at the Handling Malformed Data video.
I did a very small amount of experimenting with my code (as thats how you learn) but it didn't work and I was given this error then put everything back as it was (and checked) and still getting the same error. The breakpoints are not showing anything either.
Now getting this error: "ld: 3 duplicate symbols for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)"
Stone Preston42,016 Points
usually this means you have a duplicated class etc in your project somewhere. is there more to that error code? Did you accidently import a .m file instead of a .h somewhere?. Also, do you have any variables named Id in the project?. also check your build phases in your target. If there are any duplications it will throw this error so see if you have multiple items with the same name in your build phases. When I saw this error it was because I had accidently imported part of another xcode project into mine and had 2 main methods. It showed up as a duplicate in build phases and I deleted one and it worked. But there are lots of scenarios that will throw this error so it could be many things.