Apple Mach-O链接器错误:找不到-lBolts clang的库:错误:

时间:2015-09-27 07:44:02

标签: ios xcode

我正在尝试编译此应用" https://github.com/ParsePlatform/ParseStore"。但我有错误

  

Ld的   /用户/ mavericmax /库/开发商/ Xcode中/ DerivedData /网店hgscvoaueijbrwfuqfsdkjaxcpmv /编译/产品/调试-iphonesimulator /解析\   Store.app/Parse \ Store正常x86_64       cd / Users / mavericmax / Downloads / ParseStore-master       export IPHONEOS_DEPLOYMENT_TARGET = 8.1       export PATH =" /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.4.sdk   -L /用户/ mavericmax /库/开发商/ Xcode中/ DerivedData /网店hgscvoaueijbrwfuqfsdkjaxcpmv /编译/产品/调试,iphonesimulator   -F /用户/ mavericmax /库/开发商/ Xcode中/ DerivedData /网店hgscvoaueijbrwfuqfsdkjaxcpmv /编译/产品/调试,iphonesimulator   -F / Users / mavericmax / Downloads / ParseStore-master -F \" / Users / mavericmax / Downloads / ParseStore-master / Store / Vendor \" -F / Users / mavericmax / Downloads / ParseStore-master / Store / Vendor -F / Users / mavericmax / Downloads / Bolts-iOS / ios -filelist / Users / mavericmax / Library / Developer / Xcode / DerivedData / Store-hgscvoaueijbrwfuqfsdkjaxcpmv / Build /Intermediates/Store.build/Debug-iphonesimulator/Store.build/Objects-normal/x86_64/Parse \   Store.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lBolts   -lMBProgressHUD -lParse -lParseUI -lStripe -lsqlite3 -lz -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework   CoreLocation -framework Foundation-framework QuartzCore -framework   Security -framework StoreKit -framework SystemConfiguration -framework   UIKit -weak_framework Accounts -weak_framework AddressBook   -weak_framework PassKit -weak_framework社交-fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min = 8.1 -framework SystemConfiguration -framework StoreKit -framework Social -framework Security -framework QuartzCore -framework MobileCoreServices -lz .1.1.3 -lsqlite3   -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AdSupport -framework Accounts -framework AudioToolbox -framework UIKit -framework Bolts -framework Foundation -lPods -Xlinker -dependency_info -Xlinker / Users / mavericmax / Library / Developer / Xcode / DerivedData / Store- hgscvoaueijbrwfuqfsdkjaxcpmv /生成/中间体/ Store.build /调试-iphonesimulator / Store.build /对象 - 正常/ x86_64的/解析\   Store_dependency_info.dat -o   /用户/ mavericmax /库/开发商/ Xcode中/ DerivedData /网店hgscvoaueijbrwfuqfsdkjaxcpmv /编译/产品/调试-iphonesimulator /解析\   Store.app/Parse \ Store

     

ld:警告:找不到选项的目录   ' -F" /用户/ mavericmax /下载/ ParseStore主/商店/卖方"' LD:   找不到-lBolts clang的库:错误:链接器命令失败   退出代码1(使用-v查看调用)

目录'供应商'存在,我还手动复制了Bolts框架,清理和构建(失败了)。如果有人能指出这里有什么问题,我会很感激。

1 个答案:

答案 0 :(得分:0)

我能够使用以下代码解决同样的问题。

将其添加到构建设置中的库搜索路径,并确保选择递归,删除可能是绝对路径的其他库路径。

$(PROJECT_DIR) 

可能会帮助你。