XcodeGen icon indicating copy to clipboard operation
XcodeGen copied to clipboard

Adding support for Swift Definations

Open DominatorVbN opened this issue 2 years ago • 1 comments
trafficstars

Why Just YAML and JSON if the tool is entirely build in Swift Can not we Add support for definitions of the project to be as well in Swift ?

it would provide features like:

  • Autocomplete
  • Validation

If this is something that could be picked up, i would very much interested to contribute.

DominatorVbN avatar May 21 '23 15:05 DominatorVbN

In order to get things like autocomplete & validation there would have to be a vended framework that you could add to an Xcode project. It's quite a bit of work to get this done. If you're wanting to write manifests in Swift I'd suggest giving Tuist a shot. I've used it and writing the manifests in Swift is quite nice but there are tradeoffs for sure (XcodeGen is way way faster for example).

jsorge avatar Jun 13 '23 14:06 jsorge