検索

ホームページ  >  に質問  >  本文

objective-c - 下载了别人的源码,出现ld:library not found for -lXXX 的问题

ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/AFNetworking'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/MJExtension'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/MJRefresh'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/Masonry'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/SDWebImage'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/SVProgressHUD'
ld: warning: directory not found for option '-L/Users/chenkuntao/Library/Developer/Xcode/DerivedData/XCFApp-cvwcrddriawvgjbdwjhslghjmekh/Build/Products/Debug-iphonesimulator/pop'
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如何解决报错

为情所困为情所困2757日前853

全員に返信(2)返信します

  • 为情所困

    为情所困2017-05-02 09:27:27

    プロジェクトにpodfileファイルはありますか?それをインストールする必要がありますか?

    返事
    0
  • 为情所困

    为情所困2017-05-02 09:27:27

    サードパーティのパッケージがインストールされていない場合は、podfile をインストールします

    返事
    0
  • キャンセル返事