iOS 环信上架framework拆分

1. 打开终端

2.cd到项目中环信SDK文件夹目录下

3.执行以下命令, 每行敲一下回车

mkdir ./bak

cp -r Hyphenate.framework ./bak

lipo Hyphenate.framework/Hyphenate -thin armv7 -output Hyphenate_armv7

lipo Hyphenate.framework/Hyphenate -thin arm64 -output Hyphenate_arm64

lipo -create Hyphenate_armv7 Hyphenate_arm64 -output Hyphenate

mv Hyphenate Hyphenate.framework/

你可能感兴趣的:(iOS 环信上架framework拆分)