MAM-3841-integrate-react-native#384
Conversation
| - Node.js 20.10.+ | ||
| - Xcode 13+ | ||
| - Swift 5+ | ||
| - Yarn 1.22+ |
There was a problem hiding this comment.
Should we make a callout that this isn't the latest version?
(maybe point people here? not sure https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable)
There was a problem hiding this comment.
I didn't mean to run an older version. Good catch! I updated it to the latest version.
| 1. Copy the `sample.env` to `.env` | ||
| 1. Run `bundle install` to get the needed gems | ||
| 1. From the root of the application still run `bin/arkana` This will generated | ||
| 1. Run `yarn` to install dependencies |
There was a problem hiding this comment.
What directory should the user be in?
| 1. From the root of the application still run `bin/arkana` This will generated | ||
| 1. Run `yarn` to install dependencies | ||
| 1. From the [ios](./ios) directory run `bundle install` to get the needed gems | ||
| 1. From the [ios](./ios) directory run `bin/arkana` This will generated |
There was a problem hiding this comment.
Note: I had to move the .arkana.yml into the ios directory.
| @@ -0,0 +1,2 @@ | |||
| export NODE_BINARY=/opt/homebrew/bin/node | |||
There was a problem hiding this comment.
Mine was in a different location. Maybe this should be which node or…?
There was a problem hiding this comment.
This file should be ignored by git and generated when running ... pod install
There was a problem hiding this comment.
I removed it from git. So next time you run USE_FRAMEWORKS=static RCT_NEW_ARCH_ENABLED=1 arch -x86_64 bundle exec pod install the file should be generated locally
rileyhCode
left a comment
There was a problem hiding this comment.
I added some thoughts.
| @@ -0,0 +1,3 @@ | |||
| nodeLinker: node-modules | |||
|
|
|||
| yarnPath: .yarn/releases/yarn-4.1.0.cjs | |||
There was a problem hiding this comment.
creates errors on fresh installs, remove yarnPath:
Now that Corepack is shipped with both Node 18 and 20 we no longer need to rely on yarnPath, and as a result we updated our installation guide to reflect that. The yarn init -2 and yarn set version commands have been updated to favor updating the packageManager field when possible.
MAM-3841 : Integrate React-Native