Cookie
A command line cookie cutter for your app icons and Xcode assets
Install / Use
/learn @jeanetienne/CookieREADME
🍪 Cookie
A command line cookie cutter for your Xcode app icons.
Usage
Using cookie is as simple as:
cookie -i my-app-icon.png
with this command, cookie detects the asset sizes your project needs by reading the Contents.json file inside your AppIcon.appiconset, generates all the sizes from the source my-app-icon.png and update the Contents.json accordingly.
Options
-ior--image: Path to the input image.-por--parent: Path to the parent folder in which to look for an.appiconsetfolder. Defaults to current path.-o,--output: Path to the output folder. If no path is given, images are placed in the.appiconsetfolder and theContents.jsonfile is updated accordingly.
Installation
- Clone or download this repository
- Open and build the project with Xcode
- Move or copy the produced binary (found under the project's DerivedData Build/Products/Debug folder) to
usr/local/bin
License
Cookie is released under the MIT License.
