ld:找不到-lAfariaSLL的库

时间:2014-03-28 10:08:09

标签: iphone clang

完整的错误消息:

    Ld/Users/chairman/Library/Developer/Xcode/DerivedData/Field_Final-dsxytmugnwuntcglfimizlbtmegi/Build/Products/Debug-iphonesimulator/Field_Final.app/Field_Final normal i386
    cd "/Users/chairman/Documents/Vitthal/NEWFSNOV21_2.3/FSDEVICE2.3 dec6/Field_Final"
    setenv MACOSX_DEPLOYMENT_TARGET 10.6
    setenv PATH "/Users/chairman/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Users/chairman/Desktop/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Users/chairman/Desktop/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Users/chairman/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/chairman/Library/Developer/Xcode/DerivedData/Field_Final-dsxytmugnwuntcglfimizlbtmegi/Build/Products/Debug-iphonesimulator -F/Users/chairman/Library/Developer/Xcode/DerivedData/Field_Final-dsxytmugnwuntcglfimizlbtmegi/Build/Products/Debug-iphonesimulator -filelist /Users/chairman/Library/Developer/Xcode/DerivedData/Field_Final-dsxytmugnwuntcglfimizlbtmegi/Build/Intermediates/Field_Final.build/Debug-iphonesimulator/Field_Final.build/Objects-normal/i386/Field_Final.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -Objc -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=50100 -framework MapKit -framework CoreLocation -lz.1.2.5 -lstdc++.6 -licucore.A -framework AddressBook -framework CoreFoundation -framework CFNetwork -framework Security -framework MobileCoreServices -framework SystemConfiguration -framework MessageUI -framework UIKit -framework Foundation -framework CoreGraphics -lAfariaSLL -lMAKit -lsupUltralite -lsupcore -lSUPObj -lclientrt -lDatavault -lMO -o /Users/chairman/Library/Developer/Xcode/DerivedData/Field_Final-dsxytmugnwuntcglfimizlbtmegi/Build/Products/Debug-iphonesimulator/Field_Final.app/Field_Final

ld: library not found for -lAfariaSLL
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:1)

试试这个:

  • 转到目标 - >构建阶段 - >链接二进制文件库
  • 点击+符号
  • 按Add Other&添加你的图书馆
  • 清洁项目&而不是运行

答案 1 :(得分:1)

转到目标。在构建设置下,搜索“库搜索路径”。在那里,您应该列出链接库所在的所有目录。

关于SUP,请在此处阅读有关项目设置的信息:http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01213.0225/doc/html/aro1369255660920.html。该链接适用于v2.2.5,您可以在左侧选择您的版本并在那里找到该文档。