diff --git a/packager/react-native-xcode.sh b/packager/react-native-xcode.sh index d3a7e23b5..d136282fd 100755 --- a/packager/react-native-xcode.sh +++ b/packager/react-native-xcode.sh @@ -34,7 +34,7 @@ esac REACT_NATIVE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" # Xcode project file for React Native apps is located in ios/ subfolder -cd ${REACT_NATIVE_DIR}/../.. +cd "${REACT_NATIVE_DIR}"/../.. # Define NVM_DIR and source the nvm.sh setup script [ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"