Skip to content

Commit dc704aa

Browse files
committed
chore: move with-environment to the newly extracted script
1 parent 12f809b commit dc704aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/platform-ios/template/ios/HelloWorld.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
);
180180
runOnlyForDeploymentPostprocessing = 0;
181181
shellPath = /bin/sh;
182-
shellScript = "bash -l -c \"${REACT_NATIVE_PATH}/scripts/xcode/with-environment.sh\" \"${PROJECT_DIR}/react-native-xcode.sh\"\n";
182+
shellScript = "bash -l -c \"${PROJECT_DIR}/react-native-xcode.sh\"\n";
183183
};
184184
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
185185
isa = PBXShellScriptBuildPhase;

packages/platform-ios/template/ios/react-native-xcode.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
set -e
22

3+
. "$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh"
4+
35
export CONFIG_CMD="dummy-workaround-value"
46
export CLI_PATH="$("$NODE_BINARY" --print "require('path').dirname(require.resolve('@rnef/cli/package.json')) + '/dist/src/bin.js'")"
57

0 commit comments

Comments
 (0)