如何解决此错误 Command PhaseScriptExecution failed with a nonzero exit code [英] how to solve this error Command PhaseScriptExecution failed with a nonzero exit code

查看:122
本文介绍了如何解决此错误 Command PhaseScriptExecution failed with a nonzero exit code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将 Mac 更改为 MacBook m1,我的 Xcode V 为 12.4 我的项目在模拟器上正常运行,但在真实设备上却没有我试图删除 pod它对我不起作用

I hade changed my Mac to MacBook m1 and my Xcode V is 12.4 my project run normally on simulator but doesn't on the real device I tried to delete the pods it doesn't work for me

Command PhaseScriptExecution failed with a nonzero exit code

谢谢

推荐答案

添加arm64";在项目和 pods 项目的构建设置中的排除的架构"中,在模拟器中运行应用程序.在设备上进行构建或归档应用时将其删除.

Add "arm64" in "Excluded Architectures" in build settings of both project and pods project, to run the app in simulator. Remove it while making build on device or archiving the app.

这篇关于如何解决此错误 Command PhaseScriptExecution failed with a nonzero exit code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆