Apple Mach-O链接器错误:重复符号_y

时间:2013-10-13 23:07:12

标签: iphone ios objective-c xcode

duplicate symbol _y in:
/Users/archanamehta/Library/Developer/Xcode/DerivedData/GuideforCODGhosts-ftrljupdxywopwckemagyiliitss/Build/Intermediates/GuideforCODGhosts.build/Debug-iphonesimulator/GuideforCODGhosts.build/Objects-normal/i386/SecondaryWeaponsViewController.o
/Users/archanamehta/Library/Developer/Xcode/DerivedData/GuideforCODGhosts-ftrljupdxywopwckemagyiliitss/Build/Intermediates/GuideforCODGhosts.build/Debug-iphonesimulator/GuideforCODGhosts.build/Objects-normal/i386/PrimaryWeaponsViewController.o

ld:架构i386 clang的1个重复符号:错误:链接器命令失败,退出代码为1(使用-v查看调用)

我的申请中有错误。以上是我得到的错误。我不知道该怎么做。请帮忙。

PrimaryWeaponsViewController http://gyazo.com/1dd400959f043bddbc59ec8d0c4f6c60

的.h文件的源代码

.h文件的源代码SecondaryWeaponsViewController http://gyazo.com/76b3d1fa2b766e904af41489e36cba60

由于

修改

我在评论部分添加了.m文件

0 个答案:

没有答案