diff --git a/fastlane/Fastfile b/fastlane/Fastfile index cb852d96..68b5ae1c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -176,6 +176,11 @@ platform :ios do groups: ['Beta Testers'] ) + upload_symbols_to_crashlytics( + gsp_path: "openHAB/GoogleService-Info.plist", + binary_path: './scripts/upload-symbols' + ) + clean_build_artifacts # commit to git the changes from bumping version number diff --git a/openHAB.xcodeproj/project.pbxproj b/openHAB.xcodeproj/project.pbxproj index 9b8fbf5d..b5320190 100644 --- a/openHAB.xcodeproj/project.pbxproj +++ b/openHAB.xcodeproj/project.pbxproj @@ -1087,7 +1087,6 @@ 93F38C4C23803499001B1451 /* Embed Frameworks */, 4D6470DE2561F935007B03FC /* Embed Foundation Extensions */, DAF0A2902C56FE9F00A14A6A /* Run swiftformat & swiftlint */, - 93F8063627AE76AF0035A6B0 /* Crashlytics Run Script */, ); buildRules = ( ); @@ -1280,30 +1279,6 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 93F8063627AE76AF0035A6B0 /* Crashlytics Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - ); - inputPaths = ( - "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}", - "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${PRODUCT_NAME}", - "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist", - "$(TARGET_BUILD_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/GoogleService-Info.plist", - "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)", - ); - name = "Crashlytics Run Script"; - outputFileListPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "${BUILD_DIR%Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run\n"; - }; DAF0A2902C56FE9F00A14A6A /* Run swiftformat & swiftlint */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; diff --git a/scripts/upload-symbols b/scripts/upload-symbols new file mode 100755 index 00000000..481428e6 Binary files /dev/null and b/scripts/upload-symbols differ