I have a project with Core Data, storyBoard based, and 3 classes. The Core Data purpose is to save locations on a MapKit, but when I create the class "Spot", subclass of NSManagedObject, I get this Buildtime error. It says:
duplicate symbol _OBJC_METACLASS_$_Spot in:
/Users/vitorferreira/Library/Developer/Xcode/DerivedData/CoreDataCity-buwqjxltijduybepebqqghhkrqwe/Build/Intermediates/CoreDataCity.build/Debug-iphonesimulator/CoreDataCity.build/Objects-normal/i386/Spot.o
/Users/vitorferreira/Library/Developer/Xcode/DerivedData/CoreDataCity-buwqjxltijduybepebqqghhkrqwe/Build/Intermediates/CoreDataCity.build/Debug-iphonesimulator/CoreDataCity.build/Objects-normal/i386/Spot+CoreDataClass.o
ld: 2 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
In a previous comment (this is an edited question) - it's been said the reason is duplicated code in the Libraries...But honestly I don't get it...Any help would be much apreciated