Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

adildacoolset

macrumors 65816
Original poster
So, I'm trying to compile this project. What's happening is that I'm getting this error code:
Code:
ld: 6 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

No I checked if there were any duplicates in the compile sources section. There was nothing.

And in the class which I had added, I had imported the .h file. Please help me.
 

PhoneyDeveloper

macrumors 68040
Sep 2, 2008
3,114
93
The duplicate symbol error should show the symbols that have been duplicated.

This can happen by something like this

#import "MyViewController.m"

At any rate. Show the full error message.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.