Skip to content

Commit 85c4d37

Browse files
committed
Fix bugsnag on pbxproj
1 parent 558cfa2 commit 85c4d37

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed

ios/RocketChatRN.xcodeproj/project.pbxproj

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,6 +1278,7 @@
12781278
1EC6ACF422CB9FC300A41C61 /* Embed App Extensions */,
12791279
1E1EA8082326CCE300E22452 /* ShellScript */,
12801280
1ED0389C2B507B4F00C007D4 /* Embed Watch Content */,
1281+
7AAE9EB32891A0D20024F559 /* Upload source maps to Bugsnag */,
12811282
407D3EDE3DABEE15D27BD87D /* ShellScript */,
12821283
9C104B12BEE385F7555E641F /* [Expo] Configure project */,
12831284
4CCE5B7235CA003F286BD050 /* [CP] Embed Pods Frameworks */,
@@ -1354,7 +1355,7 @@
13541355
1EFEB5912493B6640072EDC0 /* Sources */,
13551356
1EFEB5922493B6640072EDC0 /* Frameworks */,
13561357
1EFEB5932493B6640072EDC0 /* Resources */,
1357-
BBC633F2F3849C6C1D54D98A /* [CP] Copy Pods Resources */,
1358+
B4801301A00C50FA3AD72CF9 /* [CP] Copy Pods Resources */,
13581359
);
13591360
buildRules = (
13601361
);
@@ -1549,7 +1550,7 @@
15491550
);
15501551
runOnlyForDeploymentPostprocessing = 0;
15511552
shellPath = /bin/sh;
1552-
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";
1553+
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";
15531554
};
15541555
1E1EA8082326CCE300E22452 /* ShellScript */ = {
15551556
isa = PBXShellScriptBuildPhase;
@@ -1815,6 +1816,26 @@
18151816
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-defaults-Rocket.Chat/Pods-defaults-Rocket.Chat-frameworks.sh\"\n";
18161817
showEnvVarsInLog = 0;
18171818
};
1819+
7AAE9EB32891A0D20024F559 /* Upload source maps to Bugsnag */ = {
1820+
isa = PBXShellScriptBuildPhase;
1821+
buildActionMask = 2147483647;
1822+
files = (
1823+
);
1824+
inputFileListPaths = (
1825+
);
1826+
inputPaths = (
1827+
$TARGET_BUILD_DIR/$INFOPLIST_PATH,
1828+
);
1829+
name = "Upload source maps to Bugsnag";
1830+
outputFileListPaths = (
1831+
);
1832+
outputPaths = (
1833+
);
1834+
runOnlyForDeploymentPostprocessing = 0;
1835+
shellPath = /bin/sh;
1836+
shellScript = "#SOURCE_MAP=\"$TMPDIR/$(md5 -qs \"$CONFIGURATION_BUILD_DIR\")-main.jsbundle.map\" ../node_modules/@bugsnag/react-native/bugsnag-react-native-xcode.sh\n";
1837+
showEnvVarsInLog = 0;
1838+
};
18181839
84028E94C77DEBDD5200728D /* [Expo] Configure project */ = {
18191840
isa = PBXShellScriptBuildPhase;
18201841
alwaysOutOfDate = 1;
@@ -1894,7 +1915,7 @@
18941915
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
18951916
showEnvVarsInLog = 0;
18961917
};
1897-
BBC633F2F3849C6C1D54D98A /* [CP] Copy Pods Resources */ = {
1918+
B4801301A00C50FA3AD72CF9 /* [CP] Copy Pods Resources */ = {
18981919
isa = PBXShellScriptBuildPhase;
18991920
buildActionMask = 2147483647;
19001921
files = (
@@ -2553,7 +2574,7 @@
25532574
"$(inherited)",
25542575
"$(SRCROOT)/../node_modules/rn-extensions-share/ios/**",
25552576
"$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**",
2556-
"$PODS_CONFIGURATION_BUILD_DIR/Firebase",
2577+
$PODS_CONFIGURATION_BUILD_DIR/Firebase,
25572578
);
25582579
INFOPLIST_FILE = ShareRocketChatRN/Info.plist;
25592580
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -2629,7 +2650,7 @@
26292650
"$(inherited)",
26302651
"$(SRCROOT)/../node_modules/rn-extensions-share/ios/**",
26312652
"$(SRCROOT)/../node_modules/react-native-firebase/ios/RNFirebase/**",
2632-
"$PODS_CONFIGURATION_BUILD_DIR/Firebase",
2653+
$PODS_CONFIGURATION_BUILD_DIR/Firebase,
26332654
);
26342655
INFOPLIST_FILE = ShareRocketChatRN/Info.plist;
26352656
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -3154,10 +3175,7 @@
31543175
ONLY_ACTIVE_ARCH = YES;
31553176
OTHER_CFLAGS = "$(inherited)";
31563177
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
3157-
OTHER_LDFLAGS = (
3158-
"$(inherited)",
3159-
" ",
3160-
);
3178+
OTHER_LDFLAGS = "$(inherited) ";
31613179
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
31623180
SDKROOT = iphoneos;
31633181
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@@ -3221,10 +3239,7 @@
32213239
MTL_ENABLE_DEBUG_INFO = NO;
32223240
OTHER_CFLAGS = "$(inherited)";
32233241
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
3224-
OTHER_LDFLAGS = (
3225-
"$(inherited)",
3226-
" ",
3227-
);
3242+
OTHER_LDFLAGS = "$(inherited) ";
32283243
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
32293244
SDKROOT = iphoneos;
32303245
SWIFT_COMPILATION_MODE = wholemodule;

0 commit comments

Comments
 (0)