Pod、carthage库、brew管理

CocoaPods 静态库 pod lib lint `app

2021-03-31  本文已影响0人  Theshy

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' }
上一篇 下一篇

猜你喜欢

热点阅读