artemnovichkov / swift-project-template

🍪 Easily generate Swift projects with Cookiecutter
MIT License
88 stars 18 forks source link

Create a project and script for template updating #44

Closed artemnovichkov closed 4 years ago

artemnovichkov commented 6 years ago

It's hard to update the template. I have to create a new project, make needed changes and copy diffs to the template. I want to create a base project and a Swift script, for example https://github.com/Raizlabs/ios-template.

alphatroya commented 6 years ago

I use XcodeGen tool for the project updating. Project settings are stored in separate yaml file and there are no any xcodeproj files in the template. All generation proceed in the post-commit hook.

artemnovichkov commented 6 years ago

@alphatroya, thanks for the advice! Do you have an example of your template? I saw XcodeGen but I'm not sure it has all needed configuration, for instance, schemes, build phase scripts etc. I need to check it.

alphatroya commented 6 years ago

You can watch my early concept https://github.com/alphatroya/swift-project-template. XcodeGen has the support of schemes, targets, and configurations, even Carthage dependencies.