Xcode 4.5 - CopyPNGFile persists. Need new ideas

后端 未结 9 1927
野趣味
野趣味 2021-02-13 22:05

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:

相关标签:
9条回答
  • 2021-02-13 22:35

    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...

    0 讨论(0)
  • 2021-02-13 22:38

    This has NOTHING to do with png files missing but with a dynamic library you are linking against which isnt available on ios

    0 讨论(0)
  • 2021-02-13 22:42

    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

    0 讨论(0)
提交回复
热议问题