I\'m making an iPad app and it runs on the simulator, but fails when i try building it for the device.
the error is below:
Well, i figured it out. The error log was a bit misleading since it says "Reason: Image not Found" right before the red highlight.
Turns out the "image" isn't the PNG or JPG, but the liberal.dylib as explicitly mentioned above. No idea how my perl library is gone...
This has NOTHING to do with png files missing but with a dynamic library you are linking against which isnt available on ios
In my case the error is resolved by going to
Build Phases -> Copy Bundle Resources
and removed all the duplicated entries of lunch images DefaultXX.png