xcode12 pod lib lint
静态库报错
** BUILD FAILED **
The following build commands failed:
Ld ***/Release-iphonesimulator/App.build/Objects-normal/arm64/Binary/App normal arm64
image.png
解决办法:
podspec
中添加
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64'
}
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
网友评论