美文网首页
Xcode12 Cocoapods-Package 打包Fram

Xcode12 Cocoapods-Package 打包Fram

作者: 不知蜕变的挣扎 | 来源:发表于2020-09-30 16:25 被阅读0次

    使用 Cocoapods-Package 打包报错

    fatal error:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: Pods/build/package.a and Pods/build-sim/package.a have the same architectures (arm64) and can't be in the same fat output file

    image.png

    解决方案

    podspace里添加代码 :

    s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
    

    相关文章

      网友评论

          本文标题:Xcode12 Cocoapods-Package 打包Fram

          本文链接:https://www.haomeiwen.com/subject/gxtpuktx.html