when I load my application it shows a warning message that
\"Could not load the \"\" image referenced from a nib in the bundle with identifier \"
Had the same issue and none of these answers worked for me. Instead I restarted the mac and iPhone I was working with and then everything started to work fine again.
I have fetching same issue in xcode 9.
just tick on target membership
Look into storyboard file you'll see a question mark icon on any of the imageView
(as shown in screenshot below) or UIButton
image.
Just correct it and the warning will be gone.
Hope this helps
I had the same issue when I Refactor to Storyboard
. Apparently the Asset catalog does not transfer the image reference. To fix, see below:
You would notice that your ImageViews
is empty from reference.
1 - Click on the ImageView
2 Go to the Utilities bar where you would see you asset image is
unknown
3 - Change it back to you image asset
This should fix your error. Hope this helps!
Xcode9 beta2 release note:
Jpeg assets in asset catalogs are not found on iOS 10 or earlier for apps built with Xcode 9. APIcalls for accessing the image such as UIImage.imageNamed: return nil. (32524123)
Workaround: Use png resources or limit app testing to devices running iOS 11 or later.
Xcode9 beta3 release note:
Jpeg assets in asset catalogs are found on iOS 10 or earlier for apps built with Xcode 9.(32524123)
I was facing the same problem, I solve it by deleting folder and create again and past all images then add reference again.