diff --git a/packages/rn-tester/.xcode.env b/packages/rn-tester/.xcode.env index 3d5782c71568d3..137dc31fc8fac0 100644 --- a/packages/rn-tester/.xcode.env +++ b/packages/rn-tester/.xcode.env @@ -9,3 +9,8 @@ # For example, to use nvm with brew, add the following line # . "$(brew --prefix nvm)/nvm.sh" --no-use export NODE_BINARY=$(command -v node) + +# If you're not using the default file structure, e.g. a monorepo +# then you can pass in the root react native directory. +# E.g. To set it to be the parent directory of the ios folder +# export PROJECT_ROOT="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../"