美文网首页
【Xcode 打包报错】- 选择🔨Runing,报错:'Pods

【Xcode 打包报错】- 选择🔨Runing,报错:'Pods

作者: 文子飞_ | 来源:发表于2021-07-07 11:51 被阅读0次
    Xcode 打包-选择🔨Runing,报错:
    Showing Recent Messages
    /Users/tong/Desktop/wanshifu/Innovative/wanshifu-app-iOS/XXXApp.xcodeproj The linked framework 'Pods_XXXApp.framework' is missing one or more architectures required by this target: armv7.
    
    • 1、执行Product—>Archive,报错:
    ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1205.0.22.9.0_0' Reader: '1200.0.32.27_0')', using libLTO version 'LLVM version 12.0.0, (clang-1200.0.32.27)' for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    image.png
    • 2、选中 pod target 报 Invalid bitcode 错的SDK,设置 Enable Bitcode 为 NO。


      image.png
    • 3、再执行Product—>Archive,就可以打包成功。

    相关文章

      网友评论

          本文标题:【Xcode 打包报错】- 选择🔨Runing,报错:'Pods

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