# This `.xcode.env` file is versioned and is used to source the environment # used when running script phases inside Xcode. # To customize your local environment, you can create an `.xcode.env.local` # file that is not versioned. # NODE_BINARY variable contains the PATH to the node executable. # # nvm support: source nvm.sh so `node` resolves inside Xcode build phases. if [ -s "$HOME/.nvm/nvm.sh" ]; then . "$HOME/.nvm/nvm.sh" --no-use export NODE_BINARY="$(nvm which current)" else export NODE_BINARY=$(command -v node) fi