Copyright (c) 2023 Proton Technologies AG
This project uses Swift Package Manager for all of it's dependencies. Allow Xcode to resolve packages before running any target.
- Enable Git LFS on your machine
- Clone this repository
- Make sure you have go installed (
brew install go
) - Configure code signing for all targets with a paid Apple developer account (required due to VPN entitlements) and change the bundle identifiers to something unique
- Clean build folder in Xcode (
Cmd+Shift+K
)
During development swiftlint is run on non-strict mode so it's easier to develop without worrying about code formatting. On CI, linting is strict and will fail on any warning. Before commiting code to this repository run the following script to add a pre-commit hook that will check all new/modified files in strict mode and stop you from committing code that won't make it through CI.
./scripts/pre_commit_lint.sh setup
The app uses SwiftGen to generate the Localizable.strings
file for accessing all the app strings stored in the standard Localizable.strings
files. Just add a new string to Strings package and run the swiftgen
command in a directory where swiftgen.yml
is defined.
The code and data files in this distribution are licensed under the terms of the GPLv3 as published by the Free Software Foundation. See https://www.gnu.org/licenses/ for a copy of this license.
Copyright (c) 2023 Proton Technologies AG