Skip to content

Commit

Permalink
fix: Sentry iOS: A required debug information file was missing (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel authored Dec 18, 2024
1 parent 9942be2 commit c58e5c4
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions iosApp/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
F57E468EACCE9B29FB4C68FC /* [CP] Copy Pods Resources */,
11F17E981064A71B74C323DA /* [CP] Embed Pods Frameworks */,
795E37802CD5053900086360 /* Embed Foundation Extensions */,
79851F9B2D08ADC0002E0951 /* Sentry Upload Symbols Script */,
);
buildRules = (
);
Expand Down Expand Up @@ -300,6 +301,7 @@
79FBD0152C5A70AF004E041C /* ShellScript */,
06E00FBBFEA4B57236F98854 /* [CP] Copy Pods Resources */,
3A3900471DFA31082B6AA60E /* [CP] Embed Pods Frameworks */,
79851F9C2D08B0BB002E0951 /* Sentry Upload Symbols Script */,
);
buildRules = (
);
Expand Down Expand Up @@ -475,6 +477,44 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewsMediaScan/Pods-NewsMediaScan-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
79851F9B2D08ADC0002E0951 /* Sentry Upload Symbols Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
);
name = "Sentry Upload Symbols Script";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\nif which sentry-cli >/dev/null; then\nexport SENTRY_ORG=ooni\nexport SENTRY_PROJECT=probe-multiplatform-ios\nERROR=$(sentry-cli debug-files upload \"$DWARF_DSYM_FOLDER_PATH\" 2>&1 >/dev/null)\nif [ ! $? -eq 0 ]; then\necho \"warning: sentry-cli - $ERROR\"\nfi\nelse\necho \"warning: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases\"\nfi\n";
};
79851F9C2D08B0BB002E0951 /* Sentry Upload Symbols Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}",
);
name = "Sentry Upload Symbols Script";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\nif which sentry-cli >/dev/null; then\nexport SENTRY_ORG=ooni\nexport SENTRY_PROJECT=probe-multiplatform-ios\nERROR=$(sentry-cli debug-files upload \"$DWARF_DSYM_FOLDER_PATH\" 2>&1 >/dev/null)\nif [ ! $? -eq 0 ]; then\necho \"warning: sentry-cli - $ERROR\"\nfi\nelse\necho \"warning: sentry-cli not installed, download from https://github.com/getsentry/sentry-cli/releases\"\nfi\n";
};
79FBD00B2C5A70AF004E041C /* Compile Kotlin Framework */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down

0 comments on commit c58e5c4

Please sign in to comment.