Skip to content
Browse files

fixes Xcode path issues containing whitespace when building Release (#…


Some users (me included) have projects located in quirky places, resulting whitespaces in the path.
An example, , I symlink into my iCloud drive which result in the following path

/Users/r/Library/Mobile Documents/com~apple~CloudDocs/_/work/{a_company}/repos.nosync/app

This commit quotes the variable to make sure it gets properly passed to the CLI.

For reference, similar issue that has been resolved:
Pull Request resolved: #24810

Differential Revision: D15316898

Pulled By: cpojer

fbshipit-source-id: 4ed2c8391d65d1680e836bfce8c51dfb5763caed
  • Loading branch information...
Pierre Reimertz authored and facebook-github-bot committed May 13, 2019
1 parent 01c70f2 commit f0770b6b370f483fdd729bdba04069cc783353dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/
@@ -57,7 +57,7 @@ REACT_NATIVE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# in node_modules.

cd "$PROJECT_ROOT" || exit

# Define NVM_DIR and source the setup script
[ -z "$NVM_DIR" ] && export NVM_DIR="$HOME/.nvm"

0 comments on commit f0770b6

Please sign in to comment.
You can’t perform that action at this time.