iOS 打包错误处理

2024-07-28  本文已影响0人  zhu哥哥

错误

Command PhaseScriptExecution failed with a nonzero exit code

处理方法
在工程中 找到 Pods-[your-project-name]-frameworks.sh (...-frameworks.sh)


if [ -L "${source}" ]; then
    echo "Symlinked..."
    source="$(readlink "${source}")"
  fi

修改为

if [ -L "${source}" ]; then
    echo "Symlinked..."
    source="$(readlink -f "${source}")"
  fi

主要修改的代码

source="$(readlink "${source}")" -----> source="$(readlink -f "${source}")"
上一篇 下一篇

猜你喜欢

热点阅读