公司開了個新項目,作了直播功能,用的是騰訊雲。爲了更好的適配iOS13版本,Xcode作了升級,升到了11.3版本,項目在導出本地包時報錯IPA processing failed架構
點擊 "Show Logs"查看日誌,查看.xcdistributionlogs文件裏的IDEDistribution.standard.log文件日誌
緣由是使用的直播SDK中包含了x86_64架構,而蘋果在iOS13中不支持模擬器64位處理器 -- x86_64架構了code
//查看SDK中包含的架構 lipo -info ImSDK
2.繼續輸入指令blog
//移除x86_64架構 lipo -remove x86_64 ImSDK -o ImSDK //查看是否移除成功 lipo -info ImSDK
如上圖,再次查看後SDK中只包含armv7和armv64架構。ip
3.從新Archive導出便可rem