ld: library not found for -lPods-AFNetworking

新手上路,请多包涵

使用cocopods 导入了

platform :ios, '7.0'
pod "Qiniu", "~> 7.0"

前面所有的步骤都成功的。工程没有作任何配置。打开xcworkspace工程,编译报

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

这个错误。麻烦你们帮我解决下,比较急。。

阅读 5.5k
1 个回答

你是否导入了afnetworking,podfile中还需要有

target "QiniuSDK iOS" do
  platform :ios, "6.0"
  pod 'AFNetworking', '~> 2.0'
end