I have a Lerna + React Native 0.76 project that was working on my previous M1 Macbook Pro but then I've migrated to a M4 Macbook Pro (Has also tested on a M2 Macbook Air and M2 Pro Macbook Pro). All of the M2+ Macbooks aren't running my project. I install all the pods but when I try to build the project, this is what I get:
ReactCodeGen \
Command PhaseScriptExecution failed with a nonzero exit code
Have already tried:
- Setting NODE_BINARY in .xcode.env.local
- Cleaning the Podfile.lock Pods and Build Folder and reinstalling everything.
Node Versions used: v22.17.1 and v20.19.1 (NVM)
XCode Version: 16.4
MacOS: Sequoia 15.5
Cocoapods: 1.16.2
Ruby: 3.4.5
"loglevel": "verbose"to yourlerna.jsonconfig to get more details, because there isn't much to help with what you provided