Ios 编译应用程序时获取错误链接器命令失败,退出代码为1

Ios 编译应用程序时获取错误链接器命令失败,退出代码为1,ios,iphone,Ios,Iphone,我是iOS新手,我正在处理这个问题(向下滚动到原型单元格),当我试图编译我的应用程序时,我得到了下面的错误。我问题的第一部分是,我如何理解其中的任何东西?我不知道如何解释它。你能告诉我有什么问题吗 Ld /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator/p

我是iOS新手,我正在处理这个问题(向下滚动到原型单元格),当我试图编译我的应用程序时,我得到了下面的错误。我问题的第一部分是,我如何理解其中的任何东西?我不知道如何解释它。你能告诉我有什么问题吗

Ld /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator/prototypeCustomCellExample.app/prototypeCustomCellExample normal x86_64
    cd /Users/nadirahmed/Documents/iOS/prototypeCustomCellExample
    export IPHONEOS_DEPLOYMENT_TARGET=9.0
    export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator -F/Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator -filelist /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/prototypeCustomCellExample.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -mios-simulator-version-min=9.0 -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -dependency_info -Xlinker /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/prototypeCustomCellExample_dependency_info.dat -o /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Products/Debug-iphonesimulator/prototypeCustomCellExample.app/prototypeCustomCellExample


duplicate symbol __players in:
    /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/AppDelegate.o
    /Users/nadirahmed/Library/Developer/Xcode/DerivedData/prototypeCustomCellExample-dgygyvcibtndywgeapixzpvxohkj/Build/Intermediates/prototypeCustomCellExample.build/Debug-iphonesimulator/prototypeCustomCellExample.build/Objects-normal/x86_64/Player.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
只要检查一下:

1.尝试在整个项目中查找你的类播放器,并确保项目中只有一个副本可用

2.You could also get this error if you mistakenly let XCode's auto-complete for #import statements specify the '.m" file for the
'duplicate' class instead of the '.h'.
谢谢