0
1

More than 5 years have passed since last update.

画像の読み込み時に「Thread 1: EXC_BAD_INSTRUCTION 」エラーが出る

Posted at

UIImageを読み込む際、
Buildは成功するが、画面描画の際に、下記エラーが出ていた。

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) image literal

UIImageViewで直接読み込もうとした際も下記エラーが出ていた。

Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

解決法:
Assetsフォルダ内のContents.jsonで
「properties」
を丸ごと削除したら描画した。

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