about summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-02-05 15:25:28 -0800
committerGitHub <noreply@github.com>2024-02-05 15:25:28 -0800
commitfca00d20a471e9b9b9a4a85bbc97d0a768dbcf87 (patch)
tree249ed6e0480ba9be21ac0aabf8badc032f6acc0b /docs
parentca66fae3ef75453926432714478561b15b785803 (diff)
downloadvoidsky-fca00d20a471e9b9b9a4a85bbc97d0a768dbcf87.tar.zst
update docs to include info on installing `cocoapods` (#2744)
* update docs to include info on installing `cocoapods`

* wording
Diffstat (limited to 'docs')
-rw-r--r--docs/build.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/docs/build.md b/docs/build.md
index c0ffefeef..c05e9a349 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -3,10 +3,22 @@
 ## App Build
 
 - Set up your environment [using the react native instructions](https://reactnative.dev/docs/environment-setup).
+- If you're running macOS, make sure you are running the correct versions of Ruby and Cocoapods:
+  - Check if you've installed Cocoapods through `homebrew`. If you have, remove it:
+    - `brew info cocoapods`
+    - If output says `Installed`:
+    - `brew remove cocoapods`
+  - If you have not installed `rbenv`:
+    - `brew install rbenv`
+    - `rbenv install 2.7.6`
+    - `rbenv global 2.7.6`
+    - Add `eval "$(rbenv init - zsh)"` to your `~/.zshrc`
+  - From inside the project directory:
+    - `bundler install`
 - Setup your environment [for e2e testing using detox](https://wix.github.io/Detox/docs/introduction/getting-started):
-  - yarn global add detox-cli
-  - brew tap wix/brew
-  - brew install applesimutils
+  - `yarn global add detox-cli`
+  - `brew tap wix/brew`
+  - `brew install applesimutils`
 - After initial setup:
   - Copy `google-services.json.example` to `google-services.json` or provide your own `google-services.json`. (A real firebase project is NOT required)
   - `npx expo prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change