问题描述
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 -lAFNetworkingclang: error: linker command failed with exit code 1 (use -v to see invocation)
如何解决报错
问题解答
回答1:工程里面是不是有podfile 文件,需要你安装上
回答2:第三方的包没有安装,如果有podfile的话pod install一下