Skipping the 'CompressResources' build step for Xcode iPhone apps

后端 未结 5 805
遥遥无期
遥遥无期 2020-12-30 09:03

Is it possible to set an iPhone Xcode project to skip the \'CompressResources\' build step?

Specifically, I want to skip the stage where it runs pngcrush on all of m

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-30 09:16

    You can add "IPHONE_OPTIMIZE_OPTIONS=-skip-PNGs" to your project settings to prevent the png mangling, but be careful with it, you might need to optimize the icon and Default.png separately then.

提交回复
热议问题