From 01103b5f18c3fdb922a78307e80952eb2f5a1823 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 30 May 2023 17:14:39 +0200 Subject: [PATCH] Adds script to upload dsyms to firebase --- LeCountdown.xcodeproj/project.pbxproj | 23 +++++++++++++++++++++++ LeCountdown/Views/ContentView.swift | 4 ++++ 2 files changed, 27 insertions(+) diff --git a/LeCountdown.xcodeproj/project.pbxproj b/LeCountdown.xcodeproj/project.pbxproj index 1821608..5629ad2 100644 --- a/LeCountdown.xcodeproj/project.pbxproj +++ b/LeCountdown.xcodeproj/project.pbxproj @@ -982,6 +982,7 @@ C4060DB9297AE73B003FAB80 /* Frameworks */, C4060DBA297AE73B003FAB80 /* Resources */, C438C7E72981216300BF3EF9 /* Embed Foundation Extensions */, + C454891F2A2649DC0047D39E /* ShellScript */, ); buildRules = ( ); @@ -1216,6 +1217,28 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + C454891F2A2649DC0047D39E /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}", + "$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${BUILD_DIR%/Build/*}/SourcePackages/checkouts/firebase-ios-sdk/Crashlytics/run\"\n"; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ C4060DB8297AE73B003FAB80 /* Sources */ = { isa = PBXSourcesBuildPhase; diff --git a/LeCountdown/Views/ContentView.swift b/LeCountdown/Views/ContentView.swift index 5ec775a..5a03eee 100644 --- a/LeCountdown/Views/ContentView.swift +++ b/LeCountdown/Views/ContentView.swift @@ -52,8 +52,12 @@ struct ContentView: View { Spacer() + #if !DEBUG + SiriVolumeView(timer: self.boringContext.siriTimer, siriTipShown: self.$siriTipShown) + #endif + LiveTimerListView() .environment(\.managedObjectContext, viewContext) .environmentObject(conductor)