ContactController.o ld: 23 duplicate symbols for architecture i386
完整错误:
/ContactController.o ld: 23 duplicate symbols for architecture i386
解析:
ContactController.old:23复制符号为i386架构
通俗话讲ContactController这个类被重复实现;
uplicate symbol _OBJC_IVAR_$_ContactController._curDelIndexPath in: /Users/moran/Library/Developer/Xcode/DerivedData/Yoosee-bxnxtnsaiafcbndoyfmzjcxgtqgi/Build/Intermediates/Yoosee.build/Debug-iphonesimulator/Yoosee.build/Objects-normal/i386/MainController.o
/Users/moran/Library/Developer/Xcode/DerivedData/Yoosee-bxnxtnsaiafcbndoyfmzjcxgtqgi/Build/Intermediates/Yoosee.build/Debug-iphonesimulator/Yoosee.build/Objects-normal/i386/ContactController.o ld: 23 duplicate symbols for architecture i386
看上一个错误提示: MainController 实在MainController里面导入了ContactController.m文件。
还有一种情况,就是某个实现文件在项目里面出现了多一份。