Skip to content

Commit

Permalink
dSym upload to Crashlytics as fastlane action (#833)
Browse files Browse the repository at this point in the history
* Upload to crashlytics

Signed-off-by: Tim Bert <[email protected]>

* without unit test

Signed-off-by: Tim Bert <[email protected]>

* Scripts for SPM

Signed-off-by: Tim Bert <[email protected]>

* Rebuild Fastfile and delete build phase with upload crashlytics

Signed-off-by: Tim Bert <[email protected]>

---------

Signed-off-by: Tim Bert <[email protected]>
  • Loading branch information
timbms authored Sep 19, 2024
1 parent 34c14db commit 32b3b44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
25 changes: 0 additions & 25 deletions openHAB.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,6 @@
93F38C4C23803499001B1451 /* Embed Frameworks */,
4D6470DE2561F935007B03FC /* Embed Foundation Extensions */,
DAF0A2902C56FE9F00A14A6A /* Run swiftformat & swiftlint */,
93F8063627AE76AF0035A6B0 /* Crashlytics Run Script */,
);
buildRules = (
);
Expand Down Expand Up @@ -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;
Expand Down
Binary file added scripts/upload-symbols
Binary file not shown.

0 comments on commit 32b3b44

Please sign in to comment.