0
0

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 5 years have passed since last update.

[自分用メモ]iOSのビルドに失敗した時のメモ

Last updated at Posted at 2018-12-09

【バージョン】
Unity:2017.4.8f1 (64bit)
Xcode:10.1 (10B61)
端末:iPad Pro 10.5 (OS:12.1)

エラー:This application does not support this device's CPU type.

というエラーがXcodeでビルドしている時に表示された。
これはUnity側の設定で64bitに対応していないことが原因?なので、
下記の設定を変更して64bitにも対応する。
iOS側が64bitに対応していないアプリはストア上から消すようになった?ためだと思う。

Unityのビルド設定

Unityの「Build Settings」から「Player Settings」を選択
「Other Settings」の「Scripting Backend」を「IL2CPP」にすると
同リスト内の「Architecture」が選択可能になる
そこの選択を「Universal」にする。

これでUnityで「Build」をしなおして、Xcodeでビルドをすると通った。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?