简体   繁体   English

链接器命令失败,退出代码为1(Xcode)

[英]linker command failed with exit code 1 (Xcode)

I've got this error after my build failed 我的构建失败后,我遇到了这个错误

Ld /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Products/Debug-iphoneos/Hesabdar.app/Hesabdar normal arm64
    cd /Users/PouyaYarandi/Documents/Hesabdar
    export IPHONEOS_DEPLOYMENT_TARGET=9.3
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -L/Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Products/Debug-iphoneos -L/Users/PouyaYarandi/Documents/Hesabdar -L/Users/PouyaYarandi/Documents/Hesabdar/Hesabdar/2.6 -L2 -F/Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Products/Debug-iphoneos -F/Users/PouyaYarandi/Documents/Hesabdar/Hesabdar -filelist /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Intermediates/Hesabdar.build/Debug-iphoneos/Hesabdar.build/Objects-normal/arm64/Hesabdar.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.3 -dead_strip -Xlinker -no_deduplicate -Objc -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Intermediates/Hesabdar.build/Debug-iphoneos/Hesabdar.build/Objects-normal/arm64/Hesabdar.swiftmodule -lAdadClient /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Products/Debug-iphoneos/Charts.framework/Charts -Xlinker -dependency_info -Xlinker /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Intermediates/Hesabdar.build/Debug-iphoneos/Hesabdar.build/Objects-normal/arm64/Hesabdar_dependency_info.dat -o /Users/PouyaYarandi/Library/Developer/Xcode/DerivedData/Hesabdar-cmrqdmmqdgptpjbvcglvkazslyve/Build/Products/Debug-iphoneos/Hesabdar.app/Hesabdar

with this title: 这个标题:

clang: error: linker command failed with exit code 1

I've read past questions about this error but they couldn't help me. 我已经读过有关此错误的过去问题,但他们无法帮助我。

Finally, I had a problem in my folder of project and with moving some files I solved my issue. 最后,我在我的项目文件夹中遇到了问题,并且移动了一些文件我解决了我的问题。 Thank Rashwan L and Mr.UB for help. 感谢Rashwan L和Mr.UB的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM