Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

copypng is missing #315

Open
lilyball opened this issue Apr 16, 2020 · 1 comment
Open

copypng is missing #315

lilyball opened this issue Apr 16, 2020 · 1 comment

Comments

@lilyball
Copy link

The CopyPNGFile rule invokes a tool copypng to do the actual copying. Xcode's version of copypng here is a Perl script that optionally invokes pngcrush. I expected xcbuild to have something similar, but xcbuild doesn't seem to bundle a copypng at all, so the CopyPNGFile rule simply fails.

@lilyball
Copy link
Author

I'm not sure offhand what xcbuild should do about pngcrush here. Perhaps just assume it's in the path if compression is requested. Apple's copypng also adds the -iphone flag but I think that's specific to Apple's bundled pngcrush so a copypng provided by xcbuild should probably skip that flag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant