IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Xcode 编译项目报错 `Command PhaseScriptExecution failed with a nonzero exit code`

    血衫非弧の一存发表于 2023-11-25 00:00:00
    love 0

    去年的一个项目,报了这个错:

    搜索了一番,这么解决:

    1. 删除Podfile.lock文件
    2. 删除Pods文件
    3. 删除.xcworkspace文件
    4. pod install
    5. Command+Shift+K 清理一下缓存

    后来请教大佬,xcode升级之后就需要在目录Pods/Target Support Files/xxx里手动加-f也可以:

    image-20231128165011740

    参考资料

    • https://developer.apple.com/forums/thread/123790


沪ICP备19023445号-2号
友情链接