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”
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”