簡體   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