-
Notifications
You must be signed in to change notification settings - Fork 20
WillowTree Technical Onboarding
Chris Stroud edited this page Apr 6, 2022
·
2 revisions
These steps are for contributors with access to WillowTree internal resources who wish to build the project locally in Xcode and run on a physical device.
If you don't regularly use Github, you will need to set up an account
- You'll need to make sure you can connect via SSH
- You'll need to work with IT to ensure your account can connect via Single Sign-On
- You'll need to ensure you have read access to the match repo
Fastlane is what we use to automate builds and ensure consistency between our CI environment and our local development environment. It can be installed by running the following in Terminal:
brew install fastlane
If you already have it installed, you may want to run brew upgrade fastlane
to ensure it is up to date.
- Clone the project to your directory of choice
[email protected]:willowtreeapps/vocable-ios.git
- Ensure you are on the develop branch
-
cd
to the project directory in Terminal
- Paste in
fastlane wt_setup_build_environment
and hit return - Once it completes, you should be prepared to build and run on a physical device
- Request access to the Vocable vault in 1Password and open the
Fastlane Match + CircleCI Secrets
note - Open your text editor of choice and paste in this template:
export APP_STORE_KEY_ID="";\
export APP_STORE_ISSUER_ID="";\
export APP_STORE_KEY_BASE64="";\
\
fastlane wt_register_new_device
- Each variable in that template has a corresponding value in 1Password. Paste each corresponding value into the quotes in the template above
- Select-all and copy the prepared command
- Paste the command into Terminal and hit return to execute it
- When prompted enter a
device name
and press enter. Something descriptive likeJane Doe - iPhone 13 Pro
is recommended. - When prompted enter the
device UDID
and press enter. Found inXcode -> Window -> Devices and Simulators
- When prompted enter a
[email protected]
forusername
and press enter. - Fastlane may ask you to enter a username again, use
[email protected]
.