天天看点

XCode 报错 library not found for -lAFNetworking

ld: library not found for -lAFNetworking

clang: error: linker command failed with exit code 1 (use -v to see invocation)

盯了错误半天才突然发现 自己使用了CocoaPods却没有使用workspace打开。然后 Project -> Pods 里面的 “Build Active Architecture Only” 没有设置成 “NO”