Skip to content

Commit ef9b5ba

Browse files
committed
ref: Make SentrySession have a swift interface
1 parent 609b0f3 commit ef9b5ba

24 files changed

+848
-73
lines changed

Sentry.xcodeproj/project.pbxproj

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
15E0A8EA240F2C9000F044E3 /* SentrySerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 15E0A8E9240F2C8F00F044E3 /* SentrySerialization.h */; };
6767
15E0A8ED240F2CB000F044E3 /* SentrySerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8EC240F2CB000F044E3 /* SentrySerialization.m */; };
6868
15E0A8F0240F638200F044E3 /* SentrySerializationNilTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8EF240F638200F044E3 /* SentrySerializationNilTests.m */; };
69-
15E0A8F22411A45A00F044E3 /* SentrySession.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8F12411A45A00F044E3 /* SentrySession.m */; };
69+
15E0A8F22411A45A00F044E3 /* SentrySessionInternal.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */; };
7070
33042A0D29DAF79A00C60085 /* SentryExtraContextProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 33042A0C29DAF79A00C60085 /* SentryExtraContextProvider.m */; };
7171
33042A1729DC2C4300C60085 /* SentryExtraContextProviderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33042A1629DC2C4300C60085 /* SentryExtraContextProviderTests.swift */; };
7272
33EB2A912C3412E4004FED3D /* SentryWithoutUIKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 33EB2A8F2C3411AE004FED3D /* SentryWithoutUIKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -387,7 +387,7 @@
387387
7B4E23B6251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E23B5251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift */; };
388388
7B4E23BE251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E23BD251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h */; };
389389
7B4E23C2251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E23C1251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m */; };
390-
7B4E24FC251C97B500060D68 /* SentrySession.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E24FB251C97B400060D68 /* SentrySession.h */; };
390+
7B4E24FC251C97B500060D68 /* SentrySessionInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */; };
391391
7B4E375525822C4500059C93 /* SentryAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E375425822C4500059C93 /* SentryAttachment.h */; settings = {ATTRIBUTES = (Public, ); }; };
392392
7B4E375B2582313100059C93 /* SentryAttachmentTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E375A2582313100059C93 /* SentryAttachmentTests.swift */; };
393393
7B4E375F258231FC00059C93 /* SentryAttachment.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E375E258231FC00059C93 /* SentryAttachment.m */; };
@@ -573,7 +573,6 @@
573573
7BDEAA022632A4580001EA25 /* SentryOptions+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BDEAA002632A4580001EA25 /* SentryOptions+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
574574
7BE0DC29272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BE0DC28272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift */; };
575575
7BE0DC2F272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BE0DC2E272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift */; };
576-
7BE1E32824F7AE08009D3AD0 /* SentrySession+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */; };
577576
7BE1E33224F7E3B6009D3AD0 /* SentryMigrateSessionInit.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BE1E33124F7E3B6009D3AD0 /* SentryMigrateSessionInit.h */; };
578577
7BE1E33424F7E3CB009D3AD0 /* SentryMigrateSessionInit.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE1E33324F7E3CB009D3AD0 /* SentryMigrateSessionInit.m */; };
579578
7BE2C7F8257000A4003B66C7 /* SentryTestIntegration.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE2C7F72570009F003B66C7 /* SentryTestIntegration.m */; };
@@ -1109,6 +1108,7 @@
11091108
FA8E58F12E0AD4270049F69D /* SentryDispatchQueueWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */; };
11101109
FA90FAA82E06614E008CAAE8 /* SentryExtraPackages.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAA72E06614B008CAAE8 /* SentryExtraPackages.swift */; };
11111110
FA90FAFD2E070A3B008CAAE8 /* SentryURLRequestFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */; };
1111+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB29F02E3D252000ACD577 /* SentrySession.swift */; };
11121112
FAB359982E05D7E90083D5E3 /* SentryEventSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */; };
11131113
FAB3599A2E05D8080083D5E3 /* SentryEventSwiftHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = FAB359992E05D8080083D5E3 /* SentryEventSwiftHelper.m */; };
11141114
FAB7BBA92E2577A6007301E1 /* SentryModels+Serializable.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB7BBA82E2577A2007301E1 /* SentryModels+Serializable.h */; };
@@ -1300,7 +1300,7 @@
13001300
15E0A8E9240F2C8F00F044E3 /* SentrySerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySerialization.h; path = include/SentrySerialization.h; sourceTree = "<group>"; };
13011301
15E0A8EC240F2CB000F044E3 /* SentrySerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySerialization.m; sourceTree = "<group>"; };
13021302
15E0A8EF240F638200F044E3 /* SentrySerializationNilTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentrySerializationNilTests.m; sourceTree = "<group>"; };
1303-
15E0A8F12411A45A00F044E3 /* SentrySession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySession.m; sourceTree = "<group>"; };
1303+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySessionInternal.m; sourceTree = "<group>"; };
13041304
33042A0B29DAF5F400C60085 /* SentryExtraContextProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SentryExtraContextProvider.h; sourceTree = "<group>"; };
13051305
33042A0C29DAF79A00C60085 /* SentryExtraContextProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryExtraContextProvider.m; sourceTree = "<group>"; };
13061306
33042A1629DC2C4300C60085 /* SentryExtraContextProviderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryExtraContextProviderTests.swift; sourceTree = "<group>"; };
@@ -1641,7 +1641,7 @@
16411641
7B4E23B5251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapperTests.swift; sourceTree = "<group>"; };
16421642
7B4E23BD251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryCrashIntegrationSessionHandler.h; path = include/SentryCrashIntegrationSessionHandler.h; sourceTree = "<group>"; };
16431643
7B4E23C1251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryCrashIntegrationSessionHandler.m; sourceTree = "<group>"; };
1644-
7B4E24FB251C97B400060D68 /* SentrySession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySession.h; path = include/SentrySession.h; sourceTree = "<group>"; };
1644+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySessionInternal.h; path = include/SentrySessionInternal.h; sourceTree = "<group>"; };
16451645
7B4E375425822C4500059C93 /* SentryAttachment.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryAttachment.h; path = Public/SentryAttachment.h; sourceTree = "<group>"; };
16461646
7B4E375A2582313100059C93 /* SentryAttachmentTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAttachmentTests.swift; sourceTree = "<group>"; };
16471647
7B4E375E258231FC00059C93 /* SentryAttachment.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryAttachment.m; sourceTree = "<group>"; };
@@ -1847,7 +1847,6 @@
18471847
7BE0DC28272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryBreadcrumbTrackerTests.swift; sourceTree = "<group>"; };
18481848
7BE0DC2E272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAutoBreadcrumbTrackingIntegrationTests.swift; sourceTree = "<group>"; };
18491849
7BE0DC30272ABCEC004FA8B7 /* SentryAutoBreadcrumbTrackingIntegration+Test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SentryAutoBreadcrumbTrackingIntegration+Test.h"; sourceTree = "<group>"; };
1850-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentrySession+Private.h"; path = "include/SentrySession+Private.h"; sourceTree = "<group>"; };
18511850
7BE1E33124F7E3B6009D3AD0 /* SentryMigrateSessionInit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryMigrateSessionInit.h; path = include/SentryMigrateSessionInit.h; sourceTree = "<group>"; };
18521851
7BE1E33324F7E3CB009D3AD0 /* SentryMigrateSessionInit.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryMigrateSessionInit.m; sourceTree = "<group>"; };
18531852
7BE2C7F625700093003B66C7 /* SentryTestIntegration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SentryTestIntegration.h; sourceTree = "<group>"; };
@@ -2451,6 +2450,7 @@
24512450
FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapper.swift; sourceTree = "<group>"; };
24522451
FA90FAA72E06614B008CAAE8 /* SentryExtraPackages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryExtraPackages.swift; sourceTree = "<group>"; };
24532452
FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryURLRequestFactory.swift; sourceTree = "<group>"; };
2453+
FAAB29F02E3D252000ACD577 /* SentrySession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentrySession.swift; sourceTree = "<group>"; };
24542454
FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryEventSwiftHelper.h; path = include/SentryEventSwiftHelper.h; sourceTree = "<group>"; };
24552455
FAB359992E05D8080083D5E3 /* SentryEventSwiftHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryEventSwiftHelper.m; sourceTree = "<group>"; };
24562456
FAB7BBA82E2577A2007301E1 /* SentryModels+Serializable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryModels+Serializable.h"; path = "include/SentryModels+Serializable.h"; sourceTree = "<group>"; };
@@ -2712,9 +2712,8 @@
27122712
6360850B1ED2AFE100E8599E /* SentryBreadcrumb.h */,
27132713
6360850C1ED2AFE100E8599E /* SentryBreadcrumb.m */,
27142714
92672BB529C9A2A9006B021C /* SentryBreadcrumb+Private.h */,
2715-
7B4E24FB251C97B400060D68 /* SentrySession.h */,
2716-
15E0A8F12411A45A00F044E3 /* SentrySession.m */,
2717-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */,
2715+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */,
2716+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */,
27182717
7B88F2FD24BC5A4C00ADF90A /* SentrySdkInfo.h */,
27192718
7B88F2FF24BC5A7D00ADF90A /* SentrySdkInfo.m */,
27202719
7BFC169A2524995700FF6266 /* SentryMessage.h */,
@@ -4329,6 +4328,7 @@
43294328
D800942328F82E8D005D3943 /* Swift */ = {
43304329
isa = PBXGroup;
43314330
children = (
4331+
FAAB29F02E3D252000ACD577 /* SentrySession.swift */,
43324332
FA67DCF32DDBD4EA00896B02 /* Core */,
43334333
D8CAC02D2BA0663E00E38F34 /* Integrations */,
43344334
621D9F2D2B9B030E003D94DE /* Helper */,
@@ -5113,7 +5113,6 @@
51135113
7B63459D280EBA6300CFA05A /* SentryUIEventTracker.h in Headers */,
51145114
7B7D873424864C6600D2ECFF /* SentryCrashDefaultMachineContextWrapper.h in Headers */,
51155115
7BA61CC8247D125400C130A8 /* SentryThreadInspector.h in Headers */,
5116-
7BE1E32824F7AE08009D3AD0 /* SentrySession+Private.h in Headers */,
51175116
7B5CAF7127F5953400ED0DB6 /* SentryEnvelope+Private.h in Headers */,
51185117
63FE713320DA4C1100CDBAE8 /* SentryCrashCPU.h in Headers */,
51195118
6271ADF32BA06D9B0098D2E9 /* SentryInternalSerializable.h in Headers */,
@@ -5175,7 +5174,7 @@
51755174
6292585E2DAFA8290049388F /* SentryCrashMach-O.h in Headers */,
51765175
63FE715320DA4C1100CDBAE8 /* SentryCrashObjCApple.h in Headers */,
51775176
63FE710120DA4C1000CDBAE8 /* SentryCrashDate.h in Headers */,
5178-
7B4E24FC251C97B500060D68 /* SentrySession.h in Headers */,
5177+
7B4E24FC251C97B500060D68 /* SentrySessionInternal.h in Headers */,
51795178
D8B665BC2B95F73200BD0E7B /* SentryPrivate.h in Headers */,
51805179
7B7D872C2486480B00D2ECFF /* SentryStacktraceBuilder.h in Headers */,
51815180
7B42C48027E08F33009B58C2 /* SentryDependencyContainer.h in Headers */,
@@ -5758,6 +5757,7 @@
57585757
D41415A72DEEE532003B14D5 /* SentryRedactViewHelper.swift in Sources */,
57595758
FA67DD002DDBD4EA00896B02 /* SentryMaskRenderer.swift in Sources */,
57605759
FA67DD012DDBD4EA00896B02 /* SentryMXCallStackTree.swift in Sources */,
5760+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */,
57615761
FA67DD022DDBD4EA00896B02 /* SentryViewScreenshotProvider.swift in Sources */,
57625762
FA67DD032DDBD4EA00896B02 /* SentryTransactionNameSource.swift in Sources */,
57635763
FA67DD042DDBD4EA00896B02 /* SwiftDescriptor.swift in Sources */,
@@ -5796,7 +5796,7 @@
57965796
D4ECA4012E3CBEDE00C757EA /* SentryDummyPublicEmptyClass.m in Sources */,
57975797
D4ECA4022E3CBEDE00C757EA /* SentryDummyPrivateEmptyClass.m in Sources */,
57985798
D80299502BA83A88000F0081 /* SentryPixelBuffer.swift in Sources */,
5799-
15E0A8F22411A45A00F044E3 /* SentrySession.m in Sources */,
5799+
15E0A8F22411A45A00F044E3 /* SentrySessionInternal.m in Sources */,
58005800
844EDCE62947DC3100C86F34 /* SentryNSTimerFactory.m in Sources */,
58015801
D83D079C2B7F9D1C00CC9674 /* SentryMsgPackSerializer.m in Sources */,
58025802
D452FCBF2DDB6FD200AFF56F /* SentryWatchdogTerminationAttributesProcessor.swift in Sources */,

SentryTestUtils/TestClient.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ public class TestClient: SentryClient {
3030
)
3131
}
3232

33+
@_spi(Private)
3334
public var captureSessionInvocations = Invocations<SentrySession>()
35+
@_spi(Private)
3436
public override func capture(session: SentrySession) {
3537
captureSessionInvocations.record(session)
3638
}
@@ -84,13 +86,17 @@ public class TestClient: SentryClient {
8486
}
8587

8688
public var callSessionBlockWithIncrementSessionErrors = true
89+
@_spi(Private)
8790
public var captureErrorWithSessionInvocations = Invocations<(error: Error, session: SentrySession?, scope: Scope)>()
91+
@_spi(Private)
8892
public override func captureError(_ error: Error, with scope: Scope, incrementSessionErrors sessionBlock: @escaping () -> SentrySession) -> SentryId {
8993
captureErrorWithSessionInvocations.record((error, callSessionBlockWithIncrementSessionErrors ? sessionBlock() : nil, scope))
9094
return SentryId()
9195
}
9296

97+
@_spi(Private)
9398
public var captureExceptionWithSessionInvocations = Invocations<(exception: NSException, session: SentrySession?, scope: Scope)>()
99+
@_spi(Private)
94100
public override func capture(_ exception: NSException, with scope: Scope, incrementSessionErrors sessionBlock: @escaping () -> SentrySession) -> SentryId {
95101
captureExceptionWithSessionInvocations.record((exception, callSessionBlockWithIncrementSessionErrors ? sessionBlock() : nil, scope))
96102
return SentryId()
@@ -102,7 +108,9 @@ public class TestClient: SentryClient {
102108
return SentryId()
103109
}
104110

111+
@_spi(Private)
105112
public var captureFatalEventWithSessionInvocations = Invocations<(event: Event, session: SentrySession, scope: Scope)>()
113+
@_spi(Private)
106114
public override func captureFatalEvent(_ event: Event, with session: SentrySession, with scope: Scope) -> SentryId {
107115
captureFatalEventWithSessionInvocations.record((event, session, scope))
108116
return SentryId()

SentryTestUtils/TestTransportAdapter.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import _SentryPrivate
22
import Foundation
33

44
public class TestTransportAdapter: SentryTransportAdapter {
5+
@_spi(Private)
56
public var sentEventsWithSessionTraceState = Invocations<(event: Event, session: SentrySession, traceContext: TraceContext?, attachments: [Attachment])>()
7+
@_spi(Private)
68
public override func send(_ event: Event, with session: SentrySession, traceContext: TraceContext?, attachments: [Attachment]) {
79
sentEventsWithSessionTraceState.record((event, session, traceContext, attachments))
810
}

Sources/Sentry/SentryClient.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#import "SentryScope+PrivateSwift.h"
3636
#import "SentrySdkInfo.h"
3737
#import "SentrySerialization.h"
38-
#import "SentrySession.h"
3938
#import "SentryStacktraceBuilder.h"
4039
#import "SentrySwift.h"
4140
#import "SentryThreadInspector.h"

Sources/Sentry/SentryCrashIntegrationSessionHandler.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#import "SentryHub.h"
77
#import "SentryLogC.h"
88
#import "SentrySDK+Private.h"
9-
#import "SentrySession.h"
109
#import "SentrySwift.h"
1110
#import "SentryWatchdogTerminationLogic.h"
1211

Sources/Sentry/SentryEnvelope.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#import "SentryMsgPackSerializer.h"
1212
#import "SentrySdkInfo.h"
1313
#import "SentrySerialization.h"
14-
#import "SentrySession.h"
1514
#import "SentrySwift.h"
1615
#import "SentryTransaction.h"
1716

Sources/Sentry/SentryHub.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#import "SentrySamplingContext.h"
2222
#import "SentryScope+Private.h"
2323
#import "SentrySerialization.h"
24-
#import "SentrySession+Private.h"
2524
#import "SentrySwift.h"
2625
#import "SentryTraceOrigin.h"
2726
#import "SentryTracer.h"

Sources/Sentry/SentryMigrateSessionInit.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#import "SentryEnvelopeItemType.h"
55
#import "SentryLogC.h"
66
#import "SentrySerialization.h"
7-
#import "SentrySession+Private.h"
87
#import "SentrySwift.h"
98

109
NS_ASSUME_NONNULL_BEGIN

Sources/Sentry/SentryScope.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#import "SentryScope+Private.h"
1111
#import "SentryScope+PrivateSwift.h"
1212
#import "SentryScopeObserver.h"
13-
#import "SentrySession.h"
1413
#import "SentrySpan.h"
1514
#import "SentrySwift.h"
1615
#import "SentryTracer.h"

Sources/Sentry/SentrySerialization.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#import "SentryLogC.h"
1010
#import "SentryModels+Serializable.h"
1111
#import "SentrySdkInfo.h"
12-
#import "SentrySession.h"
1312
#import "SentrySwift.h"
1413
#import "SentryTraceContext.h"
1514

0 commit comments

Comments
 (0)