recherche

Maison  >  Questions et réponses  >  le corps du texte

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 Il y a quelques jours854

répondre à tous(2)je répondrai

  • 为情所困

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

    Y a-t-il un fichier podfile dans le projet ? Vous devez l'installer

    répondre
    0
  • 为情所困

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

    Le package tiers n'est pas installé. S'il existe un fichier pod, installez-le

    répondre
    0
  • Annulerrépondre