Disable pngcrush in Xcode 7
Is it still possible to disable PNG compression in Xcode 7?
Prior versions of Xcode had a COMPRESS_PNG_FILES build setting in the Packaging group. That setting and its impact are described in a blog post on the ImageOptim site: https://imageoptim.com/xcode.html
However, that setting appears to be absent from Xcode 7, and adding it as a User-Defined Setting appears to make no difference.
PNGs for our application have already been optimized for file size. Xcode's pngcrush step is increasing the file size of these images, to the extent that the resulting app is no longer smaller than 100 MB. We are working to keep the app size under 100 MB so that it can be downloaded over cell networks.
We're aware that there are theoretical performance costs to disabling Xcode's PNG compression, though the reality of these costs seems to be a matter of disagreement. We're also aware that there are other alternatives to including the PNGs in the app itself.
Thanks!
Noah