-
Open
Package.swiftfile in XCode to open project. XCode knows how to open SPM projects from this file. Or, open this root directory in your favorite source code editor. -
Setup git hooks using the tool lefthook:
$ brew install lefthook
$ lefthook install
SYNCING
SERVED HOOKS: pre-commit, prepare-commit-msg
The SDK project leverages several CLI tools essential for Swift/iOS development. To ensure a consistent development environment, we use binny, a tool designed to streamline the installation and updating process of these development tools. Follow the steps below to get started:
- Install
binnyfrom the instructions in thebinnyproject. - Done!
binnywill automatically install the development tools for you when you need them later.
Dependency injection graphs and mocks are automatically generated for you (See *.generated.swift files to see examples of what gets generated). Anytime that you modify code in the SDK project and you get compile time errors, it's probably because the generated files are out-of-date. Run make generate to generate the files.