diff --git a/ios/bundle-react-native-code-and-images.sh b/ios/bundle-react-native-code-and-images.sh index e1822c07b7d6..41e9d88fc7bd 100755 --- a/ios/bundle-react-native-code-and-images.sh +++ b/ios/bundle-react-native-code-and-images.sh @@ -29,4 +29,4 @@ if [[ -z "$BUNDLE_COMMAND" ]]; then export BUNDLE_COMMAND="bundle" fi -"$NODE_BINARY" --print "require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'" +eval "$("$NODE_BINARY" --print "require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'")"