Skip to content

Commit d4f3a19

Browse files
committed
[update] Sentry
1 parent 0db31ff commit d4f3a19

3 files changed

Lines changed: 13 additions & 139 deletions

File tree

SleepPhaseWakeApp WatchKit Extension/SleepPhaseWakeApp.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import SwiftUI
99
import OSLog
1010
import Sentry
11-
import FirebaseCore
1211

1312
@main
1413
struct SleepPhaseWakeApp: App {
@@ -27,7 +26,6 @@ struct SleepPhaseWakeApp: App {
2726
// We recommend adjusting this value in production.
2827
options.tracesSampleRate = 1.0
2928
}
30-
FirebaseApp.configure()
3129
}
3230
// MARK: - BODY
3331

SleepPhaseWakeApp.xcodeproj/project.pbxproj

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
745420BB2840FFF5002E8278 /* Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 745420BA2840FFF5002E8278 /* Constants.swift */; };
2020
745BC7EB28350964005134B2 /* SleepSessionCoordinatorService.swift in Sources */ = {isa = PBXBuildFile; fileRef = 745BC7EA28350964005134B2 /* SleepSessionCoordinatorService.swift */; };
2121
745D17A8284635A400F1C69D /* ShortcutComplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 745D17A7284635A400F1C69D /* ShortcutComplication.swift */; };
22-
7470D249284A11D200BC6F88 /* FirebaseDatabase in Frameworks */ = {isa = PBXBuildFile; productRef = 7470D248284A11D200BC6F88 /* FirebaseDatabase */; };
2322
7470D24B284A13FE00BC6F88 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 7470D24A284A13FE00BC6F88 /* GoogleService-Info.plist */; };
2423
747E71882850E97900051D7E /* StartedSessionViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 747E71872850E97900051D7E /* StartedSessionViewModel.swift */; };
2524
74840390282514DF009CF2A4 /* Date+RawRepresentable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7484038F282514DF009CF2A4 /* Date+RawRepresentable.swift */; };
@@ -29,7 +28,7 @@
2928
7490B46428522D1800AB5C1A /* NotStartedSessionViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7490B46328522D1800AB5C1A /* NotStartedSessionViewModel.swift */; };
3029
7490B4672852368600AB5C1A /* FinishedSessionViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7490B4662852368600AB5C1A /* FinishedSessionViewModel.swift */; };
3130
7497FF5F2844B12A004DA367 /* FinishedSessionView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7497FF5E2844B12A004DA367 /* FinishedSessionView.swift */; };
32-
74A032D42849FB69004AC7E3 /* Sentry in Frameworks */ = {isa = PBXBuildFile; productRef = 74A032D32849FB69004AC7E3 /* Sentry */; };
31+
859E462B2D84765E000BA033 /* Sentry in Frameworks */ = {isa = PBXBuildFile; productRef = 859E462A2D84765E000BA033 /* Sentry */; };
3332
/* End PBXBuildFile section */
3433

3534
/* Begin PBXContainerItemProxy section */
@@ -106,8 +105,7 @@
106105
isa = PBXFrameworksBuildPhase;
107106
buildActionMask = 2147483647;
108107
files = (
109-
7470D249284A11D200BC6F88 /* FirebaseDatabase in Frameworks */,
110-
74A032D42849FB69004AC7E3 /* Sentry in Frameworks */,
108+
859E462B2D84765E000BA033 /* Sentry in Frameworks */,
111109
);
112110
runOnlyForDeploymentPostprocessing = 0;
113111
};
@@ -295,8 +293,7 @@
295293
);
296294
name = "SleepPhaseWakeApp WatchKit Extension";
297295
packageProductDependencies = (
298-
74A032D32849FB69004AC7E3 /* Sentry */,
299-
7470D248284A11D200BC6F88 /* FirebaseDatabase */,
296+
859E462A2D84765E000BA033 /* Sentry */,
300297
);
301298
productName = "SleepPhaseWakeApp WatchKit Extension";
302299
productReference = 74145809281C164D00374996 /* SleepPhaseWakeApp WatchKit Extension.appex */;
@@ -333,8 +330,7 @@
333330
);
334331
mainGroup = 741457F3281C164B00374996;
335332
packageReferences = (
336-
74A032D22849FB69004AC7E3 /* XCRemoteSwiftPackageReference "sentry-cocoa" */,
337-
7470D247284A11D200BC6F88 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */,
333+
859E46292D84765E000BA033 /* XCRemoteSwiftPackageReference "sentry-cocoa" */,
338334
);
339335
productRefGroup = 741457FB281C164B00374996 /* Products */;
340336
projectDirPath = "";
@@ -718,33 +714,20 @@
718714
/* End XCConfigurationList section */
719715

720716
/* Begin XCRemoteSwiftPackageReference section */
721-
7470D247284A11D200BC6F88 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */ = {
717+
859E46292D84765E000BA033 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
722718
isa = XCRemoteSwiftPackageReference;
723-
repositoryURL = "https://github.com/firebase/firebase-ios-sdk";
719+
repositoryURL = "https://github.com/getsentry/sentry-cocoa.git";
724720
requirement = {
725721
kind = upToNextMajorVersion;
726-
minimumVersion = 9.0.0;
727-
};
728-
};
729-
74A032D22849FB69004AC7E3 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = {
730-
isa = XCRemoteSwiftPackageReference;
731-
repositoryURL = "https://github.com/getsentry/sentry-cocoa";
732-
requirement = {
733-
kind = upToNextMajorVersion;
734-
minimumVersion = 7.0.0;
722+
minimumVersion = 8.47.0;
735723
};
736724
};
737725
/* End XCRemoteSwiftPackageReference section */
738726

739727
/* Begin XCSwiftPackageProductDependency section */
740-
7470D248284A11D200BC6F88 /* FirebaseDatabase */ = {
741-
isa = XCSwiftPackageProductDependency;
742-
package = 7470D247284A11D200BC6F88 /* XCRemoteSwiftPackageReference "firebase-ios-sdk" */;
743-
productName = FirebaseDatabase;
744-
};
745-
74A032D32849FB69004AC7E3 /* Sentry */ = {
728+
859E462A2D84765E000BA033 /* Sentry */ = {
746729
isa = XCSwiftPackageProductDependency;
747-
package = 74A032D22849FB69004AC7E3 /* XCRemoteSwiftPackageReference "sentry-cocoa" */;
730+
package = 859E46292D84765E000BA033 /* XCRemoteSwiftPackageReference "sentry-cocoa" */;
748731
productName = Sentry;
749732
};
750733
/* End XCSwiftPackageProductDependency section */

SleepPhaseWakeApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 4 additions & 111 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)