Xcode 4.5 - CopyPNGFile persists. Need new ideas

后端 未结 9 1945
野趣味
野趣味 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:18

    Just try deleting the .png extension for the files which are causing you the trouble. Don't know how, but worked for me!

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

    Build Settings -> Search for Compress PNG Files and set to NO . This helped me

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

    Check out this, this might be help you.Or delete bkg1.png from your project.

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

    For me this error was occurring when the png was listed in the copy bundle resources phase on the build phases tab. See https://stackoverflow.com/a/5659415/287403

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

    You have to save your PNG files as NOT INTERLACED. For example, by using Photoshop, go to menu File->Save For Web and Devices. Unchecked the box of 'Interlaced' and save the file. Usually interlaced box is unchecked already. Hope that helps

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

    The error can also occure if you save the file in an unexpected format of what it actually supposed to be. For instance, you save a *.png but with a .jpg encoding. Make sure that the file format is the one you actually want.

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