swift-project-template
Features:
- Xcode 11 and Swift 5.0 support
- AppCode support
- Custom project structure (the same in the project and on the disk)
- Configurations and schemes:
- Custom scripts for Carthage and SwiftLint
- iOS Deployment Target - 12.0
- Optional integrations:
- Firebase. Don't forget to add Google-Services.plist and related frameworks manually.
- SwiftGen
- LicensePlist
- Template for Github pull requests
Settings.bundle
with app version- Disabled automatic code signing (sorry, Apple
๐คทโโ๏ธ ) -Xfrontend -debug-time-function-bodies
flags for profiling compilation times.gitattributes
for correct repo language detection via linguist
Usage
-
Install Cookiecutter:
brew install cookiecutter
-
Run
cookiecutter gh:artemnovichkov/swift-project-template
. No need to create project folder manually, cookiecutter does it for you.
For future runs you can shorten the command to cookiecutter swift-project-template
. However, if you want to use the most recent template you should still run the full command above. Or just create an alias:
alias template="cookiecutter gh:artemnovichkov/swift-project-template"
Author
Artem Novichkov, [email protected]
License
swift-project-template is available under the MIT license. See the LICENSE file for more info.