rishabh bhatia
rishabh bhatia

Reputation: 31

Apple Mach-O Linker Error - duplicate symbols for architecture x86_64

I have tried all the answers available on stackoverflow but nothing seems to be working.

I get the following error whenever i create a (TCRecord)subclass of MMRecord.

Error: duplicate symbol _MMRecordErrorDomain in: /Users/mavericks/Library/Developer/Xcode/DerivedData/Beered-efrmoegppszsqtbcbtfrytgkdlyy/Build/Intermediates/Beered.build/Debug-iphonesimulator/Beered.build/Objects-normal/x86_64/TCRecord.o /Users/mavericks/Library/Developer/Xcode/DerivedData/Beered-efrmoegppszsqtbcbtfrytgkdlyy/Build/Products/Debug-iphonesimulator/libPods-MMRecord.a(MMRecord.o) ld: 1 duplicate symbol for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Things i have already tried:

Third party library i am using : MMRecord https://github.com/mutualmobile/MMRecord

Upvotes: 1

Views: 1284

Answers (2)

rishabh bhatia
rishabh bhatia

Reputation: 31

For now, in your project settings, search for "gcc_no" and set the flag to NO until we get the issue fixed. That should allow you to build your project.

Upvotes: 2

Samraan Khaan
Samraan Khaan

Reputation: 480

Try deleting extra frameworks that have no use.

Upvotes: 0

Related Questions