Clone the repo and run bootstrap script:
./scripts/bootstrap
Will will setup SwiftFormat to format code, rules are defined in .swiftformat
.
open RadixWallet.xcodeproj
Select the Radix Wallet Dev (iOS)
scheme and hit run (⌘R
).
Install ruby >v3.1.2
; it is strongly recommend to use a tool like rbenv to manage the ruby version.
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
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.
- Download general secrets and put the downloaded file in root folder.
- Download fastlane secrets and put the downloaded file in fastlane folder.
- 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.