Skip to content

Latest commit

 

History

History
68 lines (44 loc) · 2.09 KB

SETUP_DEV.md

File metadata and controls

68 lines (44 loc) · 2.09 KB

Getting started

Bootstrap

Clone the repo and run bootstrap script:

./scripts/bootstrap

Will will setup SwiftFormat to format code, rules are defined in .swiftformat.

Open project

open RadixWallet.xcodeproj

Select the Radix Wallet Dev (iOS) scheme and hit run (⌘R).

Fastlane

Setup ruby

Install ruby >v3.1.2; it is strongly recommend to use a tool like rbenv to manage the ruby version.

Setup bundler

We use bundler to install and update Fastlane. Follow below steps to have Bundler installed and execute fastlane lanes:

  • Install bundler:
gem install bundler -v 2.3.25
  • Install this project gems:
bundle install

Setup secrets

There are two types of secrets required by the project: General & Fastlane. In order to download them, you will need access to RDX Works 1Password team.
Once you have it, you will be to download each secrets file and place it in the folder detailed in the next steps. After downloading each file, be sure to remove the leading underscore from the file name.

Setup fastlane

  • Run the below command to bring the necessary certificates for development:
bundle exec fastlane install_development_certificates
  • If your device is unregistered, register it with the below command, it will prompt you to enter the device name and device UDID.
bundle exec fastlane register_new_device

After the above setup, you are good to go with building and running the app on iPhone.