环信打包到appstore 拆包

1.找到Hyphenate.framework所在位置路径: cd /Users/xinxin/Desktop/dgt/dgtApp/HyphenateFullSDK

2.运行:lipo Hyphenate.framework/Hyphenate -thin armv7 -output Hyphenate_armv7  

3.运行后没有输出提示,直接运行下一个命令:lipo Hyphenate.framework/Hyphenate -thin arm64 -output Hyphenate_arm64

4.运行后一样没有输出提示,直接运行下一个命令:lipo -create Hyphenate_armv7 Hyphenate_arm64 -output Hyphenate

5.运行后一样没有输出提示,直接运行最后一个命令:mv Hyphenate Hyphenate.framework/

6.运行完毕后得到

得到的Hyphenate.framework就是最后的结果,拖进工程,编译打包上架。

注意最后得到的包必须真机编译运行,并且工程要设置编译二进制文件General->Embedded Bunaries.

lite 版本的跟这些步骤一样的,只需要对应改下名字,就不赘述了。

1. lipo HyphenateLite.framework/HyphenateLite -thin armv7 -output HyphenateLite_armv7

2. lipo HyphenateLite.framework/HyphenateLite -thin arm64 -output HyphenateLite_arm64

3. lipo -create HyphenateLite_armv7 HyphenateLite_arm64 -output HyphenateLite

4. mv HyphenateLite HyphenateLite.framework/
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容