美文网首页
iOS 查看xxxx.framework 是否包含x86_64,

iOS 查看xxxx.framework 是否包含x86_64,

作者: MrPlusZhao | 来源:发表于2021-02-24 10:40 被阅读0次

打开终端, 进入该xxxx.framework 目录(这个过程自己脑补)
模拟器调试,SDK 需要带有x86_64,i386架构,上架App store需要移除对应的这两个架构

cd iOS/xxxx.framework  // 进入目录

lipo -info xxxx // 查看含有什么

lipo -remove x86_64 xxxx -o xxxx //移出
lipo -remove i386 xxxx -o xxxx   //移出

相关文章

网友评论

      本文标题:iOS 查看xxxx.framework 是否包含x86_64,

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