Flutter iOS构建报错:Command PhaseScriptExecution failed with a nonzero exit code
Flutter iOS构建失败:Command PhaseScriptExecution failed with a nonzero exit code
各位好,我遇到了Flutter跨平台开发的棘手问题,想请教大家:
我的App在Android端运行一切正常,构建也能顺利完成,但用Xcode构建iOS版本时,总是弹出错误:Command PhaseScriptExecution failed with a nonzero exit code。
我已经尝试了这些修复手段,但都没能解决问题:
- 执行
flutter clean清理项目缓存 - 在iOS目录下重新运行
pod install - 开启Xcode的Legacy Build模式
- 查阅过相关的GitHub问题讨论
这里附上错误截图,方便大家查看具体报错细节:
希望有经验的朋友能帮忙分析可能的原因,或者提供可行的解决方案,非常感谢!
内容的提问来源于stack exchange,提问作者Shameem Reza
相关产品推荐
相关产品推荐

