[0.76][Regression] Resolved $NODE_BINARY with spaces fails Xcode build #47211
Labels
0.76
Bug
Impact: Regression
Describes a behavior that used to work on a prior release, but stopped working recently.
Needs: Author Feedback
Needs: Repro
This issue could be improved with a clear list of steps to reproduce the issue.
Resolution: Duplicate
Description
Building a new 0.76 project on iOS from Xcode is no longer completing, for particular system Node paths.
This is due to something we've changed in our Xcode script handling (apologies that I had to stop short of fixing this during today!).
with-environment.sh
is~/Library/Application\ Support/fnm/node-versions/v20.12.0/installation/bin/node
— a path which contains a space character.[Hermes] Replace Hermes for the right configuration, if needed
, the build fails due to this space breaking the executed command.Potentially related to #32984.
Steps to reproduce
Init new project and build with Xcode.
npx @react-native-community/cli@latest init RN076 --version 0.76.0 cd RN076/ xed ios
React Native Version
0.76.0
Affected Platforms
Build - MacOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
—
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: