Skip to content

Commit c368663

Browse files
committed
ref: Make SentrySession have a swift interface
1 parent 3279d4e commit c368663

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
@@ -64,7 +64,7 @@
6464
15E0A8EA240F2C9000F044E3 /* SentrySerialization.h in Headers */ = {isa = PBXBuildFile; fileRef = 15E0A8E9240F2C8F00F044E3 /* SentrySerialization.h */; };
6565
15E0A8ED240F2CB000F044E3 /* SentrySerialization.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8EC240F2CB000F044E3 /* SentrySerialization.m */; };
6666
15E0A8F0240F638200F044E3 /* SentrySerializationNilTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8EF240F638200F044E3 /* SentrySerializationNilTests.m */; };
67-
15E0A8F22411A45A00F044E3 /* SentrySession.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8F12411A45A00F044E3 /* SentrySession.m */; };
67+
15E0A8F22411A45A00F044E3 /* SentrySessionInternal.m in Sources */ = {isa = PBXBuildFile; fileRef = 15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */; };
6868
33042A0D29DAF79A00C60085 /* SentryExtraContextProvider.m in Sources */ = {isa = PBXBuildFile; fileRef = 33042A0C29DAF79A00C60085 /* SentryExtraContextProvider.m */; };
6969
33042A1729DC2C4300C60085 /* SentryExtraContextProviderTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33042A1629DC2C4300C60085 /* SentryExtraContextProviderTests.swift */; };
7070
33EB2A912C3412E4004FED3D /* SentryWithoutUIKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 33EB2A8F2C3411AE004FED3D /* SentryWithoutUIKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -385,7 +385,7 @@
385385
7B4E23B6251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E23B5251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift */; };
386386
7B4E23BE251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E23BD251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h */; };
387387
7B4E23C2251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E23C1251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m */; };
388-
7B4E24FC251C97B500060D68 /* SentrySession.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E24FB251C97B400060D68 /* SentrySession.h */; };
388+
7B4E24FC251C97B500060D68 /* SentrySessionInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */; };
389389
7B4E375525822C4500059C93 /* SentryAttachment.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B4E375425822C4500059C93 /* SentryAttachment.h */; settings = {ATTRIBUTES = (Public, ); }; };
390390
7B4E375B2582313100059C93 /* SentryAttachmentTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E375A2582313100059C93 /* SentryAttachmentTests.swift */; };
391391
7B4E375F258231FC00059C93 /* SentryAttachment.m in Sources */ = {isa = PBXBuildFile; fileRef = 7B4E375E258231FC00059C93 /* SentryAttachment.m */; };
@@ -563,7 +563,6 @@
563563
7BDEAA022632A4580001EA25 /* SentryOptions+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BDEAA002632A4580001EA25 /* SentryOptions+Private.h */; settings = {ATTRIBUTES = (Private, ); }; };
564564
7BE0DC29272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BE0DC28272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift */; };
565565
7BE0DC2F272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7BE0DC2E272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift */; };
566-
7BE1E32824F7AE08009D3AD0 /* SentrySession+Private.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */; };
567566
7BE1E33224F7E3B6009D3AD0 /* SentryMigrateSessionInit.h in Headers */ = {isa = PBXBuildFile; fileRef = 7BE1E33124F7E3B6009D3AD0 /* SentryMigrateSessionInit.h */; };
568567
7BE1E33424F7E3CB009D3AD0 /* SentryMigrateSessionInit.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE1E33324F7E3CB009D3AD0 /* SentryMigrateSessionInit.m */; };
569568
7BE2C7F8257000A4003B66C7 /* SentryTestIntegration.m in Sources */ = {isa = PBXBuildFile; fileRef = 7BE2C7F72570009F003B66C7 /* SentryTestIntegration.m */; };
@@ -1103,6 +1102,7 @@
11031102
FA8E58F12E0AD4270049F69D /* SentryDispatchQueueWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */; };
11041103
FA90FAA82E06614E008CAAE8 /* SentryExtraPackages.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAA72E06614B008CAAE8 /* SentryExtraPackages.swift */; };
11051104
FA90FAFD2E070A3B008CAAE8 /* SentryURLRequestFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */; };
1105+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB29F02E3D252000ACD577 /* SentrySession.swift */; };
11061106
FAAB2F972E4D345800FE8B7E /* SentryUIDeviceWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB2F962E4D344F00FE8B7E /* SentryUIDeviceWrapper.swift */; };
11071107
FAAB30F32E4E8F2C00FE8B7E /* SentryInAppLogic.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB30F22E4E8F2C00FE8B7E /* SentryInAppLogic.swift */; };
11081108
FAB359982E05D7E90083D5E3 /* SentryEventSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */; };
@@ -1297,7 +1297,7 @@
12971297
15E0A8E9240F2C8F00F044E3 /* SentrySerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySerialization.h; path = include/SentrySerialization.h; sourceTree = "<group>"; };
12981298
15E0A8EC240F2CB000F044E3 /* SentrySerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySerialization.m; sourceTree = "<group>"; };
12991299
15E0A8EF240F638200F044E3 /* SentrySerializationNilTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentrySerializationNilTests.m; sourceTree = "<group>"; };
1300-
15E0A8F12411A45A00F044E3 /* SentrySession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySession.m; sourceTree = "<group>"; };
1300+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySessionInternal.m; sourceTree = "<group>"; };
13011301
33042A0B29DAF5F400C60085 /* SentryExtraContextProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SentryExtraContextProvider.h; sourceTree = "<group>"; };
13021302
33042A0C29DAF79A00C60085 /* SentryExtraContextProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryExtraContextProvider.m; sourceTree = "<group>"; };
13031303
33042A1629DC2C4300C60085 /* SentryExtraContextProviderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryExtraContextProviderTests.swift; sourceTree = "<group>"; };
@@ -1638,7 +1638,7 @@
16381638
7B4E23B5251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapperTests.swift; sourceTree = "<group>"; };
16391639
7B4E23BD251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryCrashIntegrationSessionHandler.h; path = include/SentryCrashIntegrationSessionHandler.h; sourceTree = "<group>"; };
16401640
7B4E23C1251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryCrashIntegrationSessionHandler.m; sourceTree = "<group>"; };
1641-
7B4E24FB251C97B400060D68 /* SentrySession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySession.h; path = include/SentrySession.h; sourceTree = "<group>"; };
1641+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySessionInternal.h; path = include/SentrySessionInternal.h; sourceTree = "<group>"; };
16421642
7B4E375425822C4500059C93 /* SentryAttachment.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryAttachment.h; path = Public/SentryAttachment.h; sourceTree = "<group>"; };
16431643
7B4E375A2582313100059C93 /* SentryAttachmentTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAttachmentTests.swift; sourceTree = "<group>"; };
16441644
7B4E375E258231FC00059C93 /* SentryAttachment.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryAttachment.m; sourceTree = "<group>"; };
@@ -1836,7 +1836,6 @@
18361836
7BE0DC28272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryBreadcrumbTrackerTests.swift; sourceTree = "<group>"; };
18371837
7BE0DC2E272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAutoBreadcrumbTrackingIntegrationTests.swift; sourceTree = "<group>"; };
18381838
7BE0DC30272ABCEC004FA8B7 /* SentryAutoBreadcrumbTrackingIntegration+Test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SentryAutoBreadcrumbTrackingIntegration+Test.h"; sourceTree = "<group>"; };
1839-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentrySession+Private.h"; path = "include/SentrySession+Private.h"; sourceTree = "<group>"; };
18401839
7BE1E33124F7E3B6009D3AD0 /* SentryMigrateSessionInit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryMigrateSessionInit.h; path = include/SentryMigrateSessionInit.h; sourceTree = "<group>"; };
18411840
7BE1E33324F7E3CB009D3AD0 /* SentryMigrateSessionInit.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryMigrateSessionInit.m; sourceTree = "<group>"; };
18421841
7BE2C7F625700093003B66C7 /* SentryTestIntegration.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SentryTestIntegration.h; sourceTree = "<group>"; };
@@ -2447,6 +2446,7 @@
24472446
FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapper.swift; sourceTree = "<group>"; };
24482447
FA90FAA72E06614B008CAAE8 /* SentryExtraPackages.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryExtraPackages.swift; sourceTree = "<group>"; };
24492448
FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryURLRequestFactory.swift; sourceTree = "<group>"; };
2449+
FAAB29F02E3D252000ACD577 /* SentrySession.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentrySession.swift; sourceTree = "<group>"; };
24502450
FAAB2F962E4D344F00FE8B7E /* SentryUIDeviceWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryUIDeviceWrapper.swift; sourceTree = "<group>"; };
24512451
FAAB30F22E4E8F2C00FE8B7E /* SentryInAppLogic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryInAppLogic.swift; sourceTree = "<group>"; };
24522452
FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryEventSwiftHelper.h; path = include/SentryEventSwiftHelper.h; sourceTree = "<group>"; };
@@ -2719,9 +2719,8 @@
27192719
6360850B1ED2AFE100E8599E /* SentryBreadcrumb.h */,
27202720
6360850C1ED2AFE100E8599E /* SentryBreadcrumb.m */,
27212721
92672BB529C9A2A9006B021C /* SentryBreadcrumb+Private.h */,
2722-
7B4E24FB251C97B400060D68 /* SentrySession.h */,
2723-
15E0A8F12411A45A00F044E3 /* SentrySession.m */,
2724-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */,
2722+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */,
2723+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */,
27252724
7BFC169A2524995700FF6266 /* SentryMessage.h */,
27262725
7BFC16A025249A9D00FF6266 /* SentryMessage.m */,
27272726
7B4E375425822C4500059C93 /* SentryAttachment.h */,
@@ -4328,6 +4327,7 @@
43284327
isa = PBXGroup;
43294328
children = (
43304329
FABB48B22E59310D0071397E /* Transaction */,
4330+
FAAB29F02E3D252000ACD577 /* SentrySession.swift */,
43314331
FA67DCF32DDBD4EA00896B02 /* Core */,
43324332
D8CAC02D2BA0663E00E38F34 /* Integrations */,
43334333
621D9F2D2B9B030E003D94DE /* Helper */,
@@ -5116,7 +5116,6 @@
51165116
7B63459D280EBA6300CFA05A /* SentryUIEventTracker.h in Headers */,
51175117
7B7D873424864C6600D2ECFF /* SentryCrashDefaultMachineContextWrapper.h in Headers */,
51185118
7BA61CC8247D125400C130A8 /* SentryThreadInspector.h in Headers */,
5119-
7BE1E32824F7AE08009D3AD0 /* SentrySession+Private.h in Headers */,
51205119
7B5CAF7127F5953400ED0DB6 /* SentryEnvelope+Private.h in Headers */,
51215120
63FE713320DA4C1100CDBAE8 /* SentryCrashCPU.h in Headers */,
51225121
6271ADF32BA06D9B0098D2E9 /* SentryInternalSerializable.h in Headers */,
@@ -5177,7 +5176,7 @@
51775176
6292585E2DAFA8290049388F /* SentryCrashMach-O.h in Headers */,
51785177
63FE715320DA4C1100CDBAE8 /* SentryCrashObjCApple.h in Headers */,
51795178
63FE710120DA4C1000CDBAE8 /* SentryCrashDate.h in Headers */,
5180-
7B4E24FC251C97B500060D68 /* SentrySession.h in Headers */,
5179+
7B4E24FC251C97B500060D68 /* SentrySessionInternal.h in Headers */,
51815180
D8B665BC2B95F73200BD0E7B /* SentryPrivate.h in Headers */,
51825181
7B7D872C2486480B00D2ECFF /* SentryStacktraceBuilder.h in Headers */,
51835182
7B42C48027E08F33009B58C2 /* SentryDependencyContainer.h in Headers */,
@@ -5759,6 +5758,7 @@
57595758
D41415A72DEEE532003B14D5 /* SentryRedactViewHelper.swift in Sources */,
57605759
FA67DD002DDBD4EA00896B02 /* SentryMaskRenderer.swift in Sources */,
57615760
FA67DD012DDBD4EA00896B02 /* SentryMXCallStackTree.swift in Sources */,
5761+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */,
57625762
FA67DD022DDBD4EA00896B02 /* SentryViewScreenshotProvider.swift in Sources */,
57635763
FA67DD032DDBD4EA00896B02 /* SentryTransactionNameSource.swift in Sources */,
57645764
FA67DD042DDBD4EA00896B02 /* SwiftDescriptor.swift in Sources */,
@@ -5800,7 +5800,7 @@
58005800
D4ECA4012E3CBEDE00C757EA /* SentryDummyPublicEmptyClass.m in Sources */,
58015801
D4ECA4022E3CBEDE00C757EA /* SentryDummyPrivateEmptyClass.m in Sources */,
58025802
D80299502BA83A88000F0081 /* SentryPixelBuffer.swift in Sources */,
5803-
15E0A8F22411A45A00F044E3 /* SentrySession.m in Sources */,
5803+
15E0A8F22411A45A00F044E3 /* SentrySessionInternal.m in Sources */,
58045804
D83D079C2B7F9D1C00CC9674 /* SentryMsgPackSerializer.m in Sources */,
58055805
D452FCBF2DDB6FD200AFF56F /* SentryWatchdogTerminationAttributesProcessor.swift in Sources */,
58065806
7B6D1261265F784000C9BE4B /* PrivateSentrySDKOnly.m 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
@@ -33,7 +33,6 @@
3333
#import "SentryScope+Private.h"
3434
#import "SentryScope+PrivateSwift.h"
3535
#import "SentrySerialization.h"
36-
#import "SentrySession.h"
3736
#import "SentryStacktraceBuilder.h"
3837
#import "SentrySwift.h"
3938
#import "SentryThreadInspector.h"

Sources/Sentry/SentryCrashIntegrationSessionHandler.m

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

Sources/Sentry/SentryEnvelope.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#import "SentryMessage.h"
1313
#import "SentryMsgPackSerializer.h"
1414
#import "SentrySerialization.h"
15-
#import "SentrySession.h"
1615
#import "SentrySwift.h"
1716
#import "SentryTransaction.h"
1817

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
@@ -12,7 +12,6 @@
1212
#import "SentryScope+Private.h"
1313
#import "SentryScope+PrivateSwift.h"
1414
#import "SentryScopeObserver.h"
15-
#import "SentrySession.h"
1615
#import "SentrySpan.h"
1716
#import "SentrySwift.h"
1817
#import "SentryTracer.h"

Sources/Sentry/SentrySerialization.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#import "SentryLevelMapper.h"
99
#import "SentryLogC.h"
1010
#import "SentryModels+Serializable.h"
11-
#import "SentrySession.h"
1211
#import "SentrySwift.h"
1312
#import "SentryTraceContext.h"
1413

0 commit comments

Comments
 (0)