iOS完美解决-ld: library not found for -ldAFNetworking

编译报错

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

解决方案

TARGETS -> Build Setting -> architecture -> Build Active architecture Only to Yes

iOS完美解决-ld: library not found for -ldAFNetworking_第1张图片
image.png

Build Active architecture Only 将其值设置为 YES

帮助

stackoverflow

你可能感兴趣的:(iOS完美解决-ld: library not found for -ldAFNetworking)