Skip to content

Commit

Permalink
which node
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino committed Sep 11, 2019
1 parent 05d35af commit 56fcc80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ios/MetaMask.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2315,7 +2315,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#if [ \"${CONFIGURATION}\" == \"Debug\" ]; then\n# export SKIP_BUNDLING=true\n#fi\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
shellScript = "#if [ \"${CONFIGURATION}\" == \"Debug\" ]; then\n# export SKIP_BUNDLING=true\n#fi\n\nexport NODE_BINARY=${which node}\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
15A06E9922D94AA600DBAD25 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
Expand Down
3 changes: 1 addition & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,7 @@ buildIosRelease(){
# Generate sourcemaps
yarn sourcemaps:ios
else
if [ ! -f "ios/release.xcconfig" ]
then
if [ ! -f "ios/release.xcconfig" ] ; then
echo $IOS_ENV | tr "|" "\n" > ios/release.xcconfig
fi
./node_modules/.bin/react-native run-ios --configuration Release --simulator "iPhone X (12.2)"
Expand Down

0 comments on commit 56fcc80

Please sign in to comment.