Xcode 打包-選擇??Runing,報(bào)錯(cuò):
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、執(zhí)行Product—>Archive,報(bào)錯(cuò):
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 報(bào) Invalid bitcode 錯(cuò)的SDK,設(shè)置 Enable Bitcode 為 NO。
image.png 3、再執(zhí)行Product—>Archive,就可以打包成功。
