Skip to content

Commit 43bd8d2

Browse files
committed
fix ios build
1 parent f55507d commit 43bd8d2

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

ios/RocketChatRN.xcodeproj/project.pbxproj

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@
15691569
);
15701570
runOnlyForDeploymentPostprocessing = 0;
15711571
shellPath = /bin/sh;
1572-
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=/Users/diegomello/.nvm/versions/node/v22.14.0/bin/node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
1572+
shellScript = "export EXTRA_PACKAGER_ARGS=\"--sourcemap-output $TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\"\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
15731573
};
15741574
04152DE991B5700DB05F1885 /* [CP] Copy Pods Resources */ = {
15751575
isa = PBXShellScriptBuildPhase;
@@ -1955,7 +1955,7 @@
19551955
inputFileListPaths = (
19561956
);
19571957
inputPaths = (
1958-
"$TARGET_BUILD_DIR/$INFOPLIST_PATH",
1958+
$TARGET_BUILD_DIR/$INFOPLIST_PATH,
19591959
);
19601960
name = "Upload source maps to Bugsnag";
19611961
outputFileListPaths = (
@@ -1975,7 +1975,7 @@
19751975
inputFileListPaths = (
19761976
);
19771977
inputPaths = (
1978-
"$TARGET_BUILD_DIR/$INFOPLIST_PATH",
1978+
$TARGET_BUILD_DIR/$INFOPLIST_PATH,
19791979
);
19801980
name = "Upload source maps to Bugsnag";
19811981
outputFileListPaths = (
@@ -1984,7 +1984,7 @@
19841984
);
19851985
runOnlyForDeploymentPostprocessing = 0;
19861986
shellPath = /bin/sh;
1987-
shellScript = "#SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n";
1987+
shellScript = "SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n";
19881988
showEnvVarsInLog = 0;
19891989
};
19901990
7F8EB9489218C65E04132D08 /* [CP] Embed Pods Frameworks */ = {
@@ -2646,7 +2646,7 @@
26462646
"$(inherited)",
26472647
"$(SRCROOT)/../node_modules/rn-extensions-share/ios/**",
26482648
"$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**",
2649-
"$PODS_CONFIGURATION_BUILD_DIR/Firebase",
2649+
$PODS_CONFIGURATION_BUILD_DIR/Firebase,
26502650
);
26512651
INFOPLIST_FILE = ShareRocketChatRN/Info.plist;
26522652
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -2722,7 +2722,7 @@
27222722
"$(inherited)",
27232723
"$(SRCROOT)/../node_modules/rn-extensions-share/ios/**",
27242724
"$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**",
2725-
"$PODS_CONFIGURATION_BUILD_DIR/Firebase",
2725+
$PODS_CONFIGURATION_BUILD_DIR/Firebase,
27262726
);
27272727
INFOPLIST_FILE = ShareRocketChatRN/Info.plist;
27282728
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -3249,10 +3249,7 @@
32493249
ONLY_ACTIVE_ARCH = YES;
32503250
OTHER_CFLAGS = "$(inherited)";
32513251
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
3252-
OTHER_LDFLAGS = (
3253-
"$(inherited)",
3254-
" ",
3255-
);
3252+
OTHER_LDFLAGS = "$(inherited) ";
32563253
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
32573254
SDKROOT = iphoneos;
32583255
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -3318,10 +3315,7 @@
33183315
MTL_ENABLE_DEBUG_INFO = NO;
33193316
OTHER_CFLAGS = "$(inherited)";
33203317
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
3321-
OTHER_LDFLAGS = (
3322-
"$(inherited)",
3323-
" ",
3324-
);
3318+
OTHER_LDFLAGS = "$(inherited) ";
33253319
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
33263320
SDKROOT = iphoneos;
33273321
SWIFT_COMPILATION_MODE = wholemodule;

0 commit comments

Comments
 (0)