proposal-system/mobile/ios/.xcode.env
Adam Moussa 498c8ee59e Add iOS native project for React Native mobile app
Xcode project with bundle ID com.seahavenind.proposals,
CocoaPods configuration, and app scaffolding.
2026-05-18 14:50:15 -04:00

14 lines
534 B
Bash

# 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