繁体   English   中英

Xcode构建正常,但存档失败,未找到-load_all的库

[英]Xcode Build OK but Archive fails with library not found for -load_all

我正在使用需要-load_all标志的webtrends,应用程序可以正常运行,但不会存档

我阅读了所有与之相关的消息,但似乎无济于事

Ld "/Users/julian/Library/Developer/Xcode/DerivedData/PwC_UK-dsueulkkaowyeycupeqjbvsziicn/ArchiveIntermediates/Data Collection Sample/IntermediateBuildFilesPath/PwC UK.build/Release-iphoneos/PwC UK.build/Objects-normal/armv6/PwC UK" normal armv6
    cd "/Users/julian/Documents/Flat Earth/PwC [-] iPhone/PwC-UK-120206"
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk "-L/Users/julian/Library/Developer/Xcode/DerivedData/PwC_UK-dsueulkkaowyeycupeqjbvsziicn/ArchiveIntermediates/Data Collection Sample/BuildProductsPath/Release-iphoneos" "-F/Users/julian/Library/Developer/Xcode/DerivedData/PwC_UK-dsueulkkaowyeycupeqjbvsziicn/ArchiveIntermediates/Data Collection Sample/BuildProductsPath/Release-iphoneos" "-F/Users/julian/Documents/Flat Earth/PwC [-] iPhone/PwC-UK-120206" "-F/Users/julian/Documents/Flat Earth/PwC [-] iPhone/PwC-UK-120206/.." "-F/Users/julian/Documents/Flat Earth/PwC [-] iPhone/PwC-UK-120206/Webtrends.framework" -filelist "/Users/julian/Library/Developer/Xcode/DerivedData/PwC_UK-dsueulkkaowyeycupeqjbvsziicn/ArchiveIntermediates/Data Collection Sample/IntermediateBuildFilesPath/PwC UK.build/Release-iphoneos/PwC UK.build/Objects-normal/armv6/PwC UK.LinkFileList" -dead_strip -licucore -ObjC -load_all -miphoneos-version-min=4.2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CoreData -framework CoreLocation -framework SystemConfiguration -framework Webtrends -framework CFNetwork -lz -framework MobileCoreServices -framework Security -framework MessageUI -framework AddressBook -framework AddressBookUI -framework MapKit -o "/Users/julian/Library/Developer/Xcode/DerivedData/PwC_UK-dsueulkkaowyeycupeqjbvsziicn/ArchiveIntermediates/Data Collection Sample/IntermediateBuildFilesPath/PwC UK.build/Release-iphoneos/PwC UK.build/Objects-normal/armv6/PwC UK"

ld: library not found for -load_all
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1

我的框架搜索路径是

$(inherited)
"$(SRCROOT)"
"$(SRCROOT)/.."

有任何想法吗?

我猜你需要-all_load标志而不是-load_all

暂无
暂无

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

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