Reputation: 20410
I've been working normally in Debug scheme, now I changed to Release and Im having this error:
duplicate symbol _OBJC_CLASS_$_FMDatabase in /Users/XXX/Library/Developer/Xcode/DerivedData/XXX-eotzriquwrojfrgwpqxtmjmoyrlq/Build/Products/Release-iphonesimulator/libMapView.a(FMDatabase.o) and /Users/XXX/Library/Developer/Xcode/DerivedData/XXX-eotzriquwrojfrgwpqxtmjmoyrlq/Build/Intermediates/XXX.build/Release-iphonesimulator/XXX.build/Objects-normal/i386/FMDatabase.o for architecture i386
Any idea of what is going on?
Upvotes: 0
Views: 168
Reputation: 86661
You have two classes called FMDatabase, or more likely, you have one class but you are trying to link its object file twice. My guess would be, you have included the .m
file in the project but you also have a library with it in.
Upvotes: 1