Client iOS application for student evaluation management server at Faculty of Information Technologies, Czech Technical University in Prague.
- Clone the repository.
- Request access to configuration files encrypted with git-secret from the repository owner.
The app uses Swift Package Manager for dependency management. In XCode 12+ the packages should be installed automatically.
Additionally, you should have following frameworks installed system-wide:
All configuration related files are located in Configuration
folder. There are several files:
.plist
files - all configuration for different environments (one file for each) and common configurationEnvironmentConfiguration
- class for extracting configuration from.plist
files and providing strongly typed interface
Important note: All
plist
files are not checked to the repository, but are encrypted and stored in.gitsecret
folder. This is achieved by git-secret tool. Only validated contributors with gpg RSA key-pair can access these files.
- Add key and value to
plist
file (common or any environment) - Provide new strongly typed variable in
EnvironmentConfiguration
extension
- Add environment in your project info
- Add correct string to
$(CONFIG_ENVIRONMENT)
in app's build settings - Add
ENVIRONMENT_NAME.plist
file (replaceENVIRONMENT_NAME
it with real environment name) EnvironmentConfiguration
class may need update
The app is deployed manually through AppStore Connect. See Release guide for more info.