0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Command PhaseScriptExecution failed with a nonzero exit codeのエラーの対処法

Posted at

「Command PhaseScriptExecution failed with a nonzero exit code」エラーの解決方法

業務中にXcodeで遭遇したエラー「Command PhaseScriptExecution failed with a nonzero exit code」に少しだけ時間を取られてので、解決策を書いておきます!

注意: プロジェクト名やファイルパスなど、機密情報は「名前」に置き換えています。

エラーの詳細

ビルド時に以下のエラーメッセージが表示されました:

/Users/kosuke/ファイル名/Pods/Target Support Files/名前/名前-frameworks.sh: line 132: ARCHS[@]: unbound variable

解決方法

・Productionにある情報(arm64など)を消す
スクリーンショット 2025-05-29 17.29.29.png

これによってエラーが解消しました。

0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?