Quantcast
Channel: プログラミング雑記
Viewing all articles
Browse latest Browse all 70

Could not load the "imageName.png" image referenced from a nib in the bundle with identifier ...

$
0
0
Could not load the "imageName.png" image referenced from a nib in the bundle with identifier ...

pngをプロヘクトに追加するとInterfaceBuilderではUIにimageを設定できるようになるが、それだけではビルド時にbundleにコピーされないため、実行時にリソースが見つけられず発生する。

プロジェクトビュー > Target > BuildPhases > Copy Bundle Resources
エラーが発生している画像ファイルを追加する。

Viewing all articles
Browse latest Browse all 70

Trending Articles