Xcode Clang:错误:链接器命令在项目中失败,退出代码为1(使用-v查看调用)

Xcode Clang:错误:链接器命令在项目中失败,退出代码为1(使用-v查看调用),xcode,Xcode,当我尝试构建Xcode项目时,出现以下错误: clang:错误:链接器命令失败,退出代码为1使用-v查看调用 这真是令人沮丧,因为我无法摆脱它。它显示在我的正常目标和测试目标中。请帮忙 下面是完整的错误,谢谢 Ld/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Products/Debug iphonesimulator/Dotcha!。app/Dot

当我尝试构建Xcode项目时,出现以下错误:

clang:错误:链接器命令失败,退出代码为1使用-v查看调用 这真是令人沮丧,因为我无法摆脱它。它显示在我的正常目标和测试目标中。请帮忙

下面是完整的错误,谢谢

Ld/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Products/Debug iphonesimulator/Dotcha!。app/Dotcha!正常i386 cd/Users/callumbondy/Desktop/Desktop/Projects/Dotcha! 导出IPHONEOS_部署_目标=8.2 导出路径=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/sbin:/sbin /Applications/Xcode.app/Contents/Developer/Toolchains/xcodefault.xctoolchain/usr/bin/clang-arch i386-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk-L/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Products/Debug iphonesimulator-L/Applications/Adobe\Flash\CC\2014/AIR13.0/lib/aot/stub-F/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Products/Debug iphonesimulator-filelist/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Intermediates/Dotcha!。构建/调试iphonesimulator/Dotcha!。build/Objects normal/i386/Dotcha!。LinkFileList-Xlinker-rpath-Xlinker@executable\u path/Frameworks-Xlinker-objc\u abi\u version-Xlinker 2-L/Applications/Xcode.app/Contents/Developer/toolschains/XcodeDefault.xtoolchain/usr/lib/swift/iphonesimulator-Xlinker-add\u ast\u path-Xlinker/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Intermediates/Dotcha!。构建/调试iphonesimulator/Dotcha!。build/Objects normal/i386/Dotcha_u1;.swiftmodule-mios模拟器版本min=8.2-framework StoreKit-framework iAd-framework GameKit-Xlinker-dependency_info-Xlinker/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Intermediates/Dotcha!。构建/调试iphonesimulator/Dotcha!。build/Objects normal/i386/Dotcha_dependency_info.dat-o/Users/callumbondy/Library/Developer/Xcode/DerivedData/Dotcha-ajrirvxbqfcklkfaxgrfgwslckom/Build/Products/Debug iphonesimulator/Dotcha!。app/Dotcha! ld:警告:忽略文件/Applications/Adobe Flash CC 2014/AIR13.0/lib/aot/stub/libSystem.dylib,该文件是为armv7构建的,它不是要链接的体系结构i386:/Applications/Adobe Flash CC 2014/AIR13.0/lib/aot/stub/libSystem.dylib ld:in'/Applications/adobeflashc 2014/AIR13.0/lib/aot/stub/libobjc.A.dylib'中的文件是为armv7构建的,它不是链接到i386的体系结构:/Applications/adobeflashc 2014/AIR13.0/lib/aot/stub/libobjc.A.dylib,用于体系结构i386 clang:错误:链接器命令失败,退出代码为1使用-v查看调用 您正在使用的库libobjc.A.dylib没有i386体系结构切片。在模拟器上运行应用程序时可能会出现此错误,对吗


使用库的兼容版本进行编译,或尝试在真实设备上运行,以查看它是否解决了您的问题。

我尝试在我的设备上运行它,但其中一个错误消失了,但我在测试目标中仍然遇到相同的错误。我已修复了该问题,感谢您的帮助。