Failed to load the image specified in the palette complete with the identifier (again)

(Xcode 6.0.1, iOS 7.1.1, iPad2)

  • Added 3 new images to Images.xcassets
  • Checked "Copy items if necessary" in the import dialog
  • Assembly Phases -> Copy Resources: Removed and Added Images.xcassets Images
  • Validated image names to avoid case sensitivity issues.
  • Cleared and rebuilt.
  • Close Xcode and reload
  • Remote application from device for clean installation

Trying to set the image as the button background.

Images are displayed in the simulator, but not on the device. This makes me think that they are not related to the application, despite the fact that I included images.xcassets in the assembly.

I would like to check and see if three new sets of images are included, but there seems to be no way to expand images.xcassets in the Copy Bundle Resources branch in the Build Settings section.

I set the background image of the image to the storyboard by clicking on the image, selecting the Inspector Attribute button, and then choosing the image name from the drop-down list in Background.

The work of other images; these are only recently added images that are not displayed.

I'm stumped ... any advice?

+7
ios image xcode ipad bundle
source share
3 answers

These were the dots in the file name!

New images were named with dates attached to the end of the file name, using dots to highlight the month, day, and year; So:

  • puppy.10.17.2014.png
  • kitten.10.17.2014.png
  • chick.10.17.2014.png

I deleted the dots and named the following files:

  • puppy.png
  • kitten.png
  • chick.png

What a headache ... I hope this helps someone in cyberspace!

+9
source share

In my case, the problem was that I used some .JPG images (which, as I know, is not an ideal format, but I did not worry about it since I was just starting development).

I converted one of the images to .PNG (using Preview), imported and the problem was solved!

+10
source share

drop the uiimageview image and assign it any of these images to make sure that it is displayed on the device or not.

+1
source share

All Articles