You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在物理设备运行新项目时遭遇Command PhaseScriptExecution非零退出码错误

在物理设备运行新项目时遇到Command PhaseScriptExecution错误

尝试在物理设备上运行新项目时,出现以下错误:
Command PhaseScriptExecution failed with a nonzero exit code

相关脚本执行日志如下:

Node found at: /opt/homebrew/bin/node
+ DEST=/Users/yousef/Library/Developer/Xcode/DerivedData/runOnPhysicalDevice-aymcfikqwaiecvdkkyyvriqobkoc/Build/Products/Debug-iphoneos/runOnPhysicalDevice.app
+ [[ ! -n '' ]]
+ [[ Debug = *Debug* ]]
+ [[ ! iphoneos == *simulator ]]
+ for num in 0 1 2 3 4 5 6 7 8
++ ipconfig getifaddr en0
+ IP=
Command PhaseScriptExecution failed with a nonzero exit code

相关截图:
脚本执行错误截图1
脚本执行错误截图2

内容的提问来源于stack exchange,提问作者Yusuf Jalboush

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 23:39:52