I have an application using a basic data structure. I worked fine. I just changed the data model - add the attribute to one object. And when I try to build it, I got an error:
duplicate symbol _OBJC_METACLASS_$_AccountFolder in:
/Users/XXX/Library/Developer/Xcode/DerivedData/MyApp-bxsswgxdenxgjweotkkkckaoalat/Build/Intermediates/MyApp.build/Debug-iphoneos/MyApp.build/Objects-normal/armv7/AccountFolder-33D7EA63E98D6090.o
ld: 4 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have done several searches, and most people getting this error are a .h error on .m or importing the same .h several times. I checked my code. I do not have it. And the coredata framework still exists.
Does anyone know what else could be causing? Thank.
source
share