views:

19

answers:

2

Hello guys!

I have an image which is added to the project. In the simulator it appears, but when I build for the device the resource is not included. I also started a new project and nothing. Please help me. What can be the problem?

A: 

Are you sure you copied the image into project, xcode ask to copy the file in project when you drag file in resource. Also check for your file name is correct (check for case sensitive ).

Saurabh
Yes it is in the project. In the simulator app is there and in the device app is not there.
Infinity
Try to delete app from iPhone, delete build quit simulator and run the app again. Also try to delete it and include it again.
Saurabh
I tried everything, restarted iPhone, comp, deleted, included again, but nothing solved it.
Infinity
A: 

I deleted the image file and created a new file with the same image and it works... I think it was a bug of the file...

Infinity