繁体   English   中英

xCode 5.1 Linker错误没有这样的文件或目录:'load'

[英]xCode 5.1 Linker Error No such file or directory: 'load'

我最近创建了一个应用程序,尝试存档时收到以下错误消息:

Ld /Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/IntermediateBuildFilesPath/PulseGuard\ HR\ Indicator.build/Release-iphoneos/PulseGuard\ HR\ Indicator.build/Objects-normal/armv7/PulseGuard\ HR\ Indicator normal armv7
    cd "/Users/chris/Desktop/Projects/PulseGuard Heart Rate Evaluation/PulseGuardHeartRateEvaluation"
    export IPHONEOS_DEPLOYMENT_TARGET=6.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/BuildProductsPath/Release-iphoneos -L/Users/chris/Desktop/Projects/PulseGuard\ Heart\ Rate\ Evaluation/PulseGuardHeartRateEvaluation/TestFlightSDK1-1 -F/Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/BuildProductsPath/Release-iphoneos -F/Users/chris/Desktop/Projects/PulseGuard\ Heart\ Rate\ Evaluation/PulseGuardHeartRateEvaluation/WahooFitnessSDK/dependencies -filelist /Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/IntermediateBuildFilesPath/PulseGuard\ HR\ Indicator.build/Release-iphoneos/PulseGuard\ HR\ Indicator.build/Objects-normal/armv7/PulseGuard\ HR\ Indicator.LinkFileList -dead_strip -lstdc++ -all load -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=6.0 -lTestFlight -framework WFConnector -lstdc++.6 -lc++ -framework CoreData -framework CoreBluetooth -framework AVFoundation -framework AudioToolbox -framework MediaPlayer -lz -framework ExternalAccessory -framework MessageUI -framework CoreGraphics -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/IntermediateBuildFilesPath/PulseGuard\ HR\ Indicator.build/Release-iphoneos/PulseGuard\ HR\ Indicator.build/Objects-normal/armv7/PulseGuard\ HR\ Indicator_dependency_info.dat -o /Users/chris/Library/Developer/Xcode/DerivedData/PulseGuard_HR_Indicator-amlztlldngwhtvdhgshviupwyhbk/Build/Intermediates/ArchiveIntermediates/PulseGuardLite/IntermediateBuildFilesPath/PulseGuard\ HR\ Indicator.build/Release-iphoneos/PulseGuard\ HR\ Indicator.build/Objects-normal/armv7/PulseGuard\ HR\ Indicator

clang: error: no such file or directory: 'load'

我搜索了所有论坛并找到了相关的错误消息,但没有一个与该错误消息真正匹配。

我尝试再次删除并链接我的框架,并尝试从体系结构中删除arm64,但这没有帮助。 我对此很陌生,正在努力寻找答案,因此,如果有人可以向我解释我哪里出错了,我将非常感激。

在您的Xcode Other Linker Flags中大概有一个错字,其中:

-all load 

应该:

-all_load

暂无
暂无

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

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