Swiftpack.co - Package - jcampbell05/Chocolat


Poster image from the movie 'Chocolat'

Generate podspecs from Swift packages.

Looking for the reverse conversion? => Schoutedenapus


$ chocolat-cli Package.swift >MyPod.podspec.json

Make sure you run it from a Git checkout of your project, as Chocolat gets certain metadata directly from Git. Having your repository hosted on GitHub will also improve the generated output. The required summary attribute is not filled.


Chocolat requires Swift 2.2, as it uses the Swift Package Manager to parse the Package.swift files and is itself build by SPM. You can compile it by just running:

$ make

By default, the CLI tool will be located in .build/debug/chocolat-cli.

Unit Tests

You can run the unit test using make:

$ make test


Stars: 1
Help us keep the lights on

Used By

Total: 0