報(bào)錯(cuò)12個(gè):
Ld /Users/muzi/Library/Developer/Xcode/DerivedData/Test-dgoxexrhktbbjyhfntwybbjmdrib/Build/Intermediates/Test.build/Debug-iphonesimulator/Test.build/Objects-normal/i386/Test normal i386
cd /Users/muzi/Documents/iOS/iOS-Test
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)
這種錯(cuò)誤有很多種情況:
1.依賴(lài)庫(kù)滿(mǎn)意添加
2.某些文件路徑配置錯(cuò)誤
3.architecture設(shè)置
本項(xiàng)目中把這個(gè)屬性build active architecture only設(shè)置為no了。導(dǎo)致報(bào)錯(cuò)。