Tech/Troubleshooting

Command PhaseScriptExecution failed with a nonzero exit code

Ellie Kim 2020. 4. 26. 12:08

 

Command PhaseScriptExecution failed with a nonzero exit code가 떴을 때

 

  • Podfile.lock파일을 삭제한다.
  • Pods폴더를 삭제한다.
  • . xcworkspace파일을 삭제한다.
  • pod install을 해준다.
  • 그리고 clean project를 해준다.

 

삭제해야 하는 것들은 아래와 같다.

그리고 pod install을 해주면 새롭게 설치된다.

그리고. xcworkspace 파일을 열어서 clean builde folder를 해준다.

그럼 끝

 

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

 

Xcode 11 Command PhaseScriptExecution failed wi... |Apple Developer Forums

I solved this problem by renaming my folder back in English. (I rename it into English + Japanese, and the next day came this error)

forums.developer.apple.com