diff --git a/iosApp/iosApp.xcodeproj/project.pbxproj b/iosApp/iosApp.xcodeproj/project.pbxproj index 64b460c6..2298a972 100644 --- a/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/iosApp/iosApp.xcodeproj/project.pbxproj @@ -260,6 +260,7 @@ F57E468EACCE9B29FB4C68FC /* [CP] Copy Pods Resources */, 11F17E981064A71B74C323DA /* [CP] Embed Pods Frameworks */, 795E37802CD5053900086360 /* Embed Foundation Extensions */, + 79851F9B2D08ADC0002E0951 /* Sentry Upload Symbols Script */, ); buildRules = ( ); @@ -300,6 +301,7 @@ 79FBD0152C5A70AF004E041C /* ShellScript */, 06E00FBBFEA4B57236F98854 /* [CP] Copy Pods Resources */, 3A3900471DFA31082B6AA60E /* [CP] Embed Pods Frameworks */, + 79851F9C2D08B0BB002E0951 /* Sentry Upload Symbols Script */, ); buildRules = ( ); @@ -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;