yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.01k stars 818 forks source link

Adding support for Swift Definations #1361

Open DominatorVbN opened 1 year ago

DominatorVbN commented 1 year ago

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:

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

jsorge commented 1 year ago

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).