TommyG
TommyG

Reputation: 4155

Image doesn't load to iphone when compiling a project from xcode 4 to the device

I am trying to build a project onto my iphone from Xcode 4, which has an image, and from some reason I am getting an error that the file is missing or that it is not a .png, even though it is. the project compiles and runs on my device fine, just without the image. when i run it on the computer, the image loads properly.

any ideas? Thanks!

Upvotes: 0

Views: 181

Answers (1)

Matthias Bauch
Matthias Bauch

Reputation: 90117

check the filename of the image. The device uses a case sensitive file system, the simulator usually runs on a case insensitive file system.

So image.PNG and Image.png reference the same file on the simulator, but different files on the actual device.

Upvotes: 2

Related Questions