moments-ios
Environment setup
Please download Xcode Version 12.2 (12B45b) from Apple Developer Website and install rbenv, if you haven't installed rbenv before, please follow Environment setup to install.
After that, run the following commands to install all required components and set up the development environment:
$ ./scripts/setup.sh
$ open Moments.xcworkspace
Automation
If you'd like to run the automation steps on your local machine, make sure your create a file called local.keys
and put all the keys in as below:
CI_BUILD_NUMBER=10 # Change it every time when running the build locally
APP_STORE_CONNECT_API_CONTENT=<App Store Connect API for an App Manager>
FIREBASE_API_TOKEN=<Firebase API token for App Distribution>
GITHUB_API_TOKEN=<GitHub API token for accessing the private repo for certificates and provisioning profiles>
MATCH_PASSWORD=<Password for certificates for App signing on GitHub private repo>
And run $ source local.keys
After that, you can follow the steps in .travis.yml to run the automations locally