CocoaPods 静态库 pod lib lint `app normal arm64`

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' }

推荐阅读更多精彩内容