Could not load the image referenced from a nib in the bundle with identifier
- Select your image(s) in Project Navigator.
- Open the File Inspector.
- Make sure you have the target selected.
Could not load the image referenced from a nib in the bundle with identifier
I had the same error , Click on a picture file in Xcode. in attribute, on bottom you'll see Target membership. Check the box and it is gonna work. it worked for me . try it once .
Could not load the image referenced from a nib in the bundle running on device
The filesystem on iOS devices is case sensitive, so it's quite possibly a case issue. (Mac OS X is generally case in-sensitive, hence you've not seen this issue in the simulator.)
As such, check that you're using the same case in the code as the filename itself.
Could not load the image referenced from a nib
You can do this to check it from your storyboard, or nib.
Open it as Source Code:
Then "Find" the image name in it, see if it exists but already invalid in your project, probably you have deleted or changed its name, and now it doesn't seem valid.
xcode 9 Could not load the image referenced from a nib in the bundle with identifier
Click on a picture file in Xcode. in attribute on bottom you'll see Target membership. Check the box and it is gonna work. Had the same problem see picture:
Could not load the image referenced from a nib in the bundle with identifier (again)
It was dots in the file name!
The new images were named with dates appended to the end of the filename, using dots to separate month, day and year; like so:
- puppy.10.17.2014.png
- kitten.10.17.2014.png
- chick.10.17.2014.png
I stripped out the dots, and named the files like so:
- puppy.png
- kitten.png
- chick.png
What a headache... I hope this helps someone out there in cyberspace!
Related Topics
Error When Trying to Obtain a Certificate: the Specified Item Could Not Be Found in the Keychain
Change String Color with Nsattributedstring
How to Apply Multiple Transforms in Swift
Auto Layout Uiscrollview with Subviews with Dynamic Heights
When to Use Takeunretainedvalue() or Takeretainedvalue() to Retrieve Unmanaged Objects in Swift
Waiting for Multiple Asynchronous Download Tasks
Centering Subview's X in Autolayout Throws "Not Prepared for the Constraint"
How to Remove Cache in Wkwebview
How to Check Internet Connection in Alamofire
Swift iOS Check If Remote Push Notifications Are Enabled in iOS9 and iOS10
How to Compare Two Nsdate Objects in Objective C
Programmatically Switching Between Tabs Within Swift
Change Language of Alert in Banner of Push Notification
Kvo and Arc How to Removeobserver
Swift: How to Open a New App When Uibutton Is Tapped