0
1

More than 3 years have passed since last update.

Xcode12でSimulatorビルドが失敗する

Last updated at Posted at 2021-09-05

エラー内容など

  • command phasescriptexecution failed with a nonzero exit code xcode12
  • ARCHS[@]: unbound variable

対処方法

project.pbxprojを開いてVALID_ARCHSを削除する
(project.pbxprojはプロジェクト名.xcodeprojを右クリックして「パッケージの内容を表示」に含まれています)

VALID_ARCHS = "arm64 armv7 armv7s";

Xcode12 から非推奨になった(が、それ以前に作成したプロジェクトで残っている)。

Project や Target で Build Settings > Architectures > Excluded Architecture に arm64 を指定しても、VALID_ARCHS で指定されている arm64 が参照されるため、除外されない。

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