3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Xcode14.3にアップデート後にArchiveするとPhaseScriptExecutionエラーが出る

Posted at

どうした

Xcode14.3にアップデートしてArchiveしたらこんなエラーが出て困った

Command PhaseScriptExecution failed with a nonzero exit code

cocoapods利用環境で発生してる模様

とりあえず対応

Xcodeのソースコード検索で以下のワードを検索

source="$(readlink "${source}")"

Pods/Target Support Files内にあるシェルスクリプトが引っかかるので、該当箇所を以下に書き換え

source="$(readlink -f "${source}")"

書き換えたらArchiveできるようになったよ

参考

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?