Skip to content

Commit

Permalink
chore: changed sentry build script
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Dec 10, 2024
1 parent 61d4e39 commit 3967d09
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dapps/W3MWagmi/ios/W3MWagmi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -516,13 +516,14 @@
files = (
);
inputPaths = (
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
);
name = "Upload Debug Symbols to Sentry";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nif [ -f \"$WITH_ENVIRONMENT\" ]; then\n . \"$WITH_ENVIRONMENT\"\nfi\nexport SENTRY_PROPERTIES=sentry.properties\n[ \"$SENTRY_INCLUDE_NATIVE_SOURCES\" = \"true\" ] && INCLUDE_SOURCES_FLAG=\"--include-sources\" || INCLUDE_SOURCES_FLAG=\"\"\n../node_modules/@sentry/cli/bin/sentry-cli debug-files upload \"$INCLUDE_SOURCES_FLAG\" \"$DWARF_DSYM_FOLDER_PATH\"\n";
shellScript = "export SENTRY_CLI_EXECUTABLE=\"../node_modules/@sentry/cli/bin/sentry-cli\"\nexport SENTRY_INCLUDE_NATIVE_SOURCES=true # Upload native iOS sources\n\n../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh\n";
};
1F1C008F2B8E53EE00FC18DB /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -584,13 +585,14 @@
files = (
);
inputPaths = (
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
);
name = "Upload Debug Symbols to Sentry";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nif [ -f \"$WITH_ENVIRONMENT\" ]; then\n . \"$WITH_ENVIRONMENT\"\nfi\n\nexport SENTRY_PROPERTIES=sentry.properties\nexport SENTRY_DISABLE_AUTO_UPLOAD=false\nexport SENTRY_INCLUDE_NATIVE_SOURCES=true # Upload native iOS sources\nexport SENTRY_CLI_EXECUTABLE=\"../node_modules/@sentry/cli/bin/sentry-cli\"\n\n../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh\n";
shellScript = "export SENTRY_CLI_EXECUTABLE=\"../node_modules/@sentry/cli/bin/sentry-cli\"\nexport SENTRY_INCLUDE_NATIVE_SOURCES=true # Upload native iOS sources\n\n../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh\n";
};
2EE4BF3EE058FE90A7C55DDF /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -860,13 +862,14 @@
files = (
);
inputPaths = (
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
);
name = "Upload Debug Symbols to Sentry";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nif [ -f \"$WITH_ENVIRONMENT\" ]; then\n . \"$WITH_ENVIRONMENT\"\nfi\nexport SENTRY_PROPERTIES=sentry.properties\n[ \"$SENTRY_INCLUDE_NATIVE_SOURCES\" = \"true\" ] && INCLUDE_SOURCES_FLAG=\"--include-sources\" || INCLUDE_SOURCES_FLAG=\"\"\n../node_modules/@sentry/cli/bin/sentry-cli debug-files upload \"$INCLUDE_SOURCES_FLAG\" \"$DWARF_DSYM_FOLDER_PATH\"\n";
shellScript = "export SENTRY_CLI_EXECUTABLE=\"../node_modules/@sentry/cli/bin/sentry-cli\"\nexport SENTRY_INCLUDE_NATIVE_SOURCES=true # Upload native iOS sources\n\n../node_modules/@sentry/react-native/scripts/sentry-xcode-debug-files.sh\n";
};
FD10A7F022414F080027D42C /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit 3967d09

Please sign in to comment.