What you end up with
Beaver running on your iPhone. It is free, and it stays free — there is no account, no trial and no subscription at the end of this.
- Time
- About 56 minutes
- Steps
- 15
- Cost
- Free
Before you start
These are one-time installs. If you have used Terminal before, you may have them already — the first step checks.
Install Git
Apple opens a small installer.
Type this into Terminal, then press Return.
xcode-select --installYou know this worked when: Git responds with a version number
Install Node LTS
Choose the macOS Installer (.pkg).
Open downloadYou know this worked when: Node responds with a version number
Install Beaver
Open Terminal
Keep it open beside this page.
You know this worked when: Terminal is open
Check Git and Node
Git and the current Node LTS are required.
Type this into Terminal, then press Return.
git --version node --versionYou know this worked when: Git and Node respond with version numbers
Copy Beaver to this Mac
Type this into Terminal, then press Return.
cd ~ if [ ! -d BeaverClone/.git ]; then git clone https://github.com/mwelford2/BeaverClone.git fiYou know this worked when: A BeaverClone folder appears
Open the Beaver folder
Type this into Terminal, then press Return.
cd BeaverCloneYou know this worked when: Your terminal prompt is inside the BeaverClone folder
Use the reviewed version
Type this into Terminal, then press Return.
git checkout 172943b5cd1da65d41e8618a3ee9b7df0fa9a21bYou know this worked when: Git reports the reviewed commit
Build the native project
This can take a few minutes the first time.
Type this into Terminal, then press Return.
cargo build --releaseYou know this worked when: The command finishes without an error
Install Xcode
Large — start it early. Open it once afterwards so it finishes installing.
Open the App Store pageYou know this worked when: Xcode opens without asking to finish setup
Open the iPhone project
In Xcode choose Open, then pick the ios folder inside Beaver.
You know this worked when: Xcode opens with the Beaver project
Sign the app with your Apple ID
Signing & Capabilities, then Team. A free Apple ID works.
You know this worked when: Signing & Capabilities shows no red error
Plug in your iPhone
Unlock it, tap Trust, then pick it from the device menu.
You know this worked when: Your iPhone is selected as the run destination
Press Run
The ▶ button. The first build takes a few minutes.
You know this worked when: Xcode finishes with Build Succeeded
Trust yourself on the iPhone
Settings, General, VPN & Device Management, your Apple ID, then Trust.
You know this worked when: Your Apple ID shows as trusted
Open Beaver on your phone
You know this worked when: Beaver opens on your phone
If something goes wrong
Nothing here can damage your computer, and every step can be run again safely. If a command fails, the usual cause is the step before it not having finished.
Still stuck? Tell us what happened and we will fix the guide. Include the step number and we can usually reproduce it.