ld: file not found: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphonesimulator.a
clang: error: linker command failed with exit code 1 (use -v to see invocation)
新增pod库的时候可能报这个错,修改pod的写法即可,可以使用以下模版:
platform :ios, '9.0'
source 'https://github.com/CocoaPods/Specs.git'
target 'TestExample' do
pod 'AFNetworking',
pod 'Masonry'
pod 'YYModel'
pod xxx
pod 'xxx
end
直接复制替换。