views:

595

answers:

1

I got this error when i press build+debug:

ld: duplicate symbol .objc_class_name_BlogTableItemCell in /Users/fabian/Development/Workspaces/iphone_experiments/xcode_build_output/MausLog.build/Debug-iphonesimulator/MausLog.build/Objects-normal/i386/BlogTableItemCell-3733583914888A7B.o and /Users/fabian/Development/Workspaces/iphone_experiments/xcode_build_output/MausLog.build/Debug-iphonesimulator/MausLog.build/Objects-normal/i386/BlogTableItemCell-3733583914888A7B.o collect2: ld returned 1 exit status Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1

I dont now there to start? Whats the problem?

A: 

It seems that you are compiling the same BlogTableItemCell class two times in different places of your code. This may happen in the following cases.

  • You have put the same class implementation into two different files;

  • You actually have just one implementation of this class, however you are also linking in your project a framework or library containing a class whose name is exactly the same of yours.

Try finding in the whole project your class and make sure only one copy is available within your project.

unforgiven
1.You have put the same class implementation into two different files;-> I checked that with "Find in Project". There is only one file!2. "linking in your project a framework or library containing a class whose name is exactly the same of yours."-> I also checked that with "Find in Project". There is only one link at the right position.Any suggest how to go from here?
fabian
Alright i got it. Xcode had an old reference to the file in the class explorer. Thanks
fabian