Coder Social home page Coder Social logo

Comments (6)

baenacoco avatar baenacoco commented on June 7, 2024 7

I got the error,

ios/.xcode.env => In this file you will found the instructions to set up NODE_BINARY that is necessary for building the project. I tried to set up in my .zhsrc file but it didn´t work because it have to be set up in this file.
So my solution is:
Create or modify a file "ios/.xcode.env.local" with this content "export NODE_BINARY=$(which node)" so you can replace "$(which node)" for your local bin node.

from react-native.

sandipsarkar13 avatar sandipsarkar13 commented on June 7, 2024 2

I'm facing the following error on the latest version of react native 0.74.1 (Xcode 15.3)
~/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/hermes-engine.build/Script-46EB2E00030580.sh: line 2: /scripts/xcode/with-environment.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code


The contents of Script-46EB2E00030580.sh
#!/bin/sh
. "$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh"

    CONFIG="Release"
    if echo $GCC_PREPROCESSOR_DEFINITIONS | grep -q "DEBUG=1"; then
      CONFIG="Debug"
    fi

    "$NODE_BINARY" "$REACT_NATIVE_PATH/sdks/hermes-engine/utils/replace_hermes_version.js" -c "$CONFIG" -r "0.74.1" -p "$PODS_ROOT"

from react-native.

AwsBTek avatar AwsBTek commented on June 7, 2024 1

@baenacoco
Many thanks; I was able to solve the problem with your help.

from react-native.

Siliconvelly avatar Siliconvelly commented on June 7, 2024

Facing same issue on my side i am integrated new latest version of react native 0.74.1 on android side it is running but on ios side it gives error like your (@AwsBTek) mentioned.

Uploading Screenshot 2024-05-11 at 11.47.14 AM.png…

from react-native.

MUSHTHAK2899 avatar MUSHTHAK2899 commented on June 7, 2024

check Your Mac storage

from react-native.

AwsBTek avatar AwsBTek commented on June 7, 2024

@MUSHTHAK2899 My Macbook's storage is 415 GB free.

from react-native.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.