【Xcode 打包报错】- 选择🔨Runing,报错:'Pods
2021-07-07 本文已影响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,就可以打包成功。