Xcode11打包失败IPA processing failed
2019-11-05 本文已影响0人
小希嘻

更新到Xcode11后修改了点bug,一直没有打包,今天打包发现失败了,提示IPA processing failed,查看日志:IDEDistribution.standard.log

发现是因为项目中使用的SDK支持i386,x86_86这个架构,猜测是iOS13强制不支持模拟器架构打包。

解决办法
删除SDK中的i386,x86_86构架
1、cd到目录
2、lipo -info SDKName
3、lipo -remove i386 NIMSDK -o NIMSDK
4、lipo -remove x86_64 NIMSDK -o NIMSDK
再次执行打包就行了