0

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:

  1. Setting NODE_BINARY in .xcode.env.local
  2. 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

1
  • You might want to add "loglevel": "verbose" to your lerna.json config to get more details, because there isn't much to help with what you provided Commented Jul 21 at 21:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.