10
6

More than 3 years have passed since last update.

Xcodeでビルドできなかった話と対処法(Command PhaseScriptExecution failed with a nonzero exit code)

Posted at

起きたこと

Command PhaseScriptExecution failed with a nonzero exit code

こんな感じでエラーが出た。

スクリーンショット 2020-07-15 9.22.39.png

解決法

注目すべきは、以下の部分

Cannot retrive binary file from bundle at (省略)/Carthage/Build/iOS/RealmSwift.framework%0A/

末尾にframework%0A/とあるように、以下画像のInputFilesに改行が入っていたのが原因でした。

cocoapodsからCarthageに移行している時に、コピペしながらここら辺作っていたので起きたようです。(コピペする時に何か動きがおかしい感じはしたので、、)

スクリーンショット 2020-07-15 9.20.27.png

2020/07/15
Xcode version 11.4.1
以上です。

10
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
6