From 433b2d66294fcd3a28e867438b48c9643acdb18a Mon Sep 17 00:00:00 2001 From: yenda Date: Thu, 29 Nov 2018 19:50:08 +0100 Subject: [PATCH] Revert "Added support for the `n` node version manager (#2078)" This reverts commit e1989051d06ab0506e40d47708eaa2281e7d5cb1. --- src/RealmJS.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RealmJS.xcodeproj/project.pbxproj b/src/RealmJS.xcodeproj/project.pbxproj index 071c4c74..612fd51f 100644 --- a/src/RealmJS.xcodeproj/project.pbxproj +++ b/src/RealmJS.xcodeproj/project.pbxproj @@ -860,7 +860,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [[ -d \"$HOME/.asdf/shims\" ]]; then\n export PATH=$HOME/.asdf/shims:$PATH\nfi\n\nif [[ -d \"$HOME/.n\" ]]; then\n export N_PREFIX=\"$HOME/.n\"; [[ :$PATH: == *\":$N_PREFIX/bin:\"* ]] || PATH+=\":$N_PREFIX/bin\"\nfi\n\nif [[ \"$(command -v n)\" ]]; then\n n 7.10.0\nelse\n [ -z \"$NVM_DIR\" ] && export NVM_DIR=\"$HOME/.nvm\"\n\n if [[ -s \"$HOME/.nvm/nvm.sh\" ]]; then\n . \"$HOME/.nvm/nvm.sh\"\n elif [[ -x \"$(command -v brew)\" && -s \"$(brew --prefix nvm)/nvm.sh\" ]]; then\n . \"$(brew --prefix nvm)/nvm.sh\"\n fi\n \n if [[ \"$(command -v nvm)\" ]]; then\n nvm install 7.10.0\n else\n echo \"RealmJS requires a node package manager (n or nvm).\"\n exit 1\n fi\nfi\n \nnode ../scripts/download-realm.js ios --sync\n"; + shellScript = "if [[ -d \"$HOME/.asdf/shims\" ]]; then\n export PATH=$HOME/.asdf/shims:$PATH\nfi\n\n[ -z \"$NVM_DIR\" ] && export NVM_DIR=\"$HOME/.nvm\"\n\nif [[ -s \"$HOME/.nvm/nvm.sh\" ]]; then\n . \"$HOME/.nvm/nvm.sh\"\nelif [[ -x \"$(command -v brew)\" && -s \"$(brew --prefix nvm)/nvm.sh\" ]]; then\n . \"$(brew --prefix nvm)/nvm.sh\"\nfi\n \nif [[ \"$(command -v nvm)\" ]]; then\n nvm install 7.10.0\nfi\n \n node ../scripts/download-realm.js ios --sync"; }; /* End PBXShellScriptBuildPhase section */