本文介绍了Xcode 10.2.1 命令 PhaseScriptExecution 失败,退出代码非零的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks

Showing Recent Messages:-1: rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/pothi/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework" "/Users/pothi/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks"

Command PhaseScriptExecution 失败,出现 nonzero 退出代码

Command PhaseScriptExecution failed with a nonzero exit code

我删除了派生数据.我试过:

I deleted derived data.i have tried :

钥匙串访问 -> 右击登录 -> 锁定 &再次解锁->清除Xcode项目

重启机器,没用

如何在尝试存档项目时解决Command PhaseScriptExecution failed with a nonzero exit code"错误.

How do I resolve "Command PhaseScriptExecution failed with a nonzero exit code" error when trying to archive project.

我正在使用这些库

pod 'IQKeyboardManagerSwift'
pod 'SDWebImage', '~> 4.0'
pod 'KRPullLoader'
pod 'Paytm-Payments'

推荐答案

从 ios 目录运行以下命令:

Run the following commands from the ios directory:

  1. pod deintegrate
  2. pod 安装
  3. XCode Clean 构建

或者,单线:

pod 解体;pod安装

这篇关于Xcode 10.2.1 命令 PhaseScriptExecution 失败,退出代码非零的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-20 02:40