我有一个需要多语言的应用程序。当我将第二个位置添加到我的标题和我的.xib(所以我在 ViewController.xib 中有 ViewController(spanish).xib 和 ViewControler(english).xib)文件时,我收到了这个错误:
ld: duplicate symbol _OBJC_IVAR_$_ViewController.startButton in /Users/user/Library/Developer/Xcode/DerivedData/myapp- dyorxnfjumuocabejnwkgswdssbz/Build/Intermediates/myapp.build/Debug- iphonesimulator/myapp.build/Objects-normal/i386/ViewController-2972433CD1970D41.o and /Users/user/Library/Developer/Xcode/DerivedData/myapp-dyorxnfjumuocabejnwkgswdssbz/Build/Intermediates/myapp.build/Debug-iphonesimulator/myapp.build/Objects-normal/i386/ViewController-52AF4D2DE5BCD366.o for architecture i386
怎么了?感谢您的帮助!