[PM-24170] Upload Authenticator dSYMs to Crashlytics (#1791)

This commit is contained in:
Matt Czech 2025-07-25 11:32:55 -05:00 committed by GitHub
parent f91acf74eb
commit a924eb18b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 10 deletions

View File

@ -1,10 +0,0 @@
#!/bin/bash
set -euo pipefail
# if [ "$CONFIGURATION" != "Debug" ]; then
# find "${DWARF_DSYM_FOLDER_PATH}" -name "*.dSYM" \
# -exec "${BUILD_DIR%Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/upload-symbols" \
# -gsp "${PROJECT_DIR}/Bitwarden/Application/Support/GoogleService-Info.plist" \
# -p ios -- {} +
# fi

View File

@ -0,0 +1,10 @@
#!/bin/bash
set -euo pipefail
if [ "$CONFIGURATION" != "Debug" ]; then
find "${DWARF_DSYM_FOLDER_PATH}" -name "*.dSYM" \
-exec "${BUILD_DIR%Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/upload-symbols" \
-gsp "${PROJECT_DIR}/Authenticator/Application/Support/GoogleService-Info.plist" \
-p ios -- {} +
fi

View File

@ -138,6 +138,12 @@ targets:
- path: Scripts-bwa/update_settings_version_number.sh
name: "Settings.bundle: Update Version Number"
basedOnDependencyAnalysis: false
- path: Scripts-bwa/upload_dsym_to_crashlytics.sh
name: "Upload dSYM files to Crashlytics"
basedOnDependencyAnalysis: false
inputFiles:
- ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}
- ${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}
AuthenticatorTests:
type: bundle.unit-test
platform: iOS