Skip to content

Commit 93c76b0

Browse files
authored
ref: Make SentrySession have a swift interface (#5785)
* ref: Make SentrySession have a swift interface * PR feedback
1 parent 8f2120f commit 93c76b0

24 files changed

+857
-61
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 */; };
@@ -1105,6 +1104,7 @@
11051104
FA8E58F12E0AD4270049F69D /* SentryDispatchQueueWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8E58F02E0AD4220049F69D /* SentryDispatchQueueWrapper.swift */; };
11061105
FA90FAA82E06614E008CAAE8 /* SentryExtraPackages.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAA72E06614B008CAAE8 /* SentryExtraPackages.swift */; };
11071106
FA90FAFD2E070A3B008CAAE8 /* SentryURLRequestFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA90FAFC2E070A3B008CAAE8 /* SentryURLRequestFactory.swift */; };
1107+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB29F02E3D252000ACD577 /* SentrySession.swift */; };
11081108
FAAB2F972E4D345800FE8B7E /* SentryUIDeviceWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB2F962E4D344F00FE8B7E /* SentryUIDeviceWrapper.swift */; };
11091109
FAAB30F32E4E8F2C00FE8B7E /* SentryInAppLogic.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAAB30F22E4E8F2C00FE8B7E /* SentryInAppLogic.swift */; };
11101110
FAB359982E05D7E90083D5E3 /* SentryEventSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */; };
@@ -1299,7 +1299,7 @@
12991299
15E0A8E9240F2C8F00F044E3 /* SentrySerialization.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySerialization.h; path = include/SentrySerialization.h; sourceTree = "<group>"; };
13001300
15E0A8EC240F2CB000F044E3 /* SentrySerialization.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySerialization.m; sourceTree = "<group>"; };
13011301
15E0A8EF240F638200F044E3 /* SentrySerializationNilTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentrySerializationNilTests.m; sourceTree = "<group>"; };
1302-
15E0A8F12411A45A00F044E3 /* SentrySession.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySession.m; sourceTree = "<group>"; };
1302+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SentrySessionInternal.m; sourceTree = "<group>"; };
13031303
33042A0B29DAF5F400C60085 /* SentryExtraContextProvider.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SentryExtraContextProvider.h; sourceTree = "<group>"; };
13041304
33042A0C29DAF79A00C60085 /* SentryExtraContextProvider.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryExtraContextProvider.m; sourceTree = "<group>"; };
13051305
33042A1629DC2C4300C60085 /* SentryExtraContextProviderTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryExtraContextProviderTests.swift; sourceTree = "<group>"; };
@@ -1640,7 +1640,7 @@
16401640
7B4E23B5251A07BD00060D68 /* SentryDispatchQueueWrapperTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchQueueWrapperTests.swift; sourceTree = "<group>"; };
16411641
7B4E23BD251A2BD500060D68 /* SentryCrashIntegrationSessionHandler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryCrashIntegrationSessionHandler.h; path = include/SentryCrashIntegrationSessionHandler.h; sourceTree = "<group>"; };
16421642
7B4E23C1251A2C2B00060D68 /* SentryCrashIntegrationSessionHandler.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryCrashIntegrationSessionHandler.m; sourceTree = "<group>"; };
1643-
7B4E24FB251C97B400060D68 /* SentrySession.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySession.h; path = include/SentrySession.h; sourceTree = "<group>"; };
1643+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SentrySessionInternal.h; path = include/SentrySessionInternal.h; sourceTree = "<group>"; };
16441644
7B4E375425822C4500059C93 /* SentryAttachment.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryAttachment.h; path = Public/SentryAttachment.h; sourceTree = "<group>"; };
16451645
7B4E375A2582313100059C93 /* SentryAttachmentTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAttachmentTests.swift; sourceTree = "<group>"; };
16461646
7B4E375E258231FC00059C93 /* SentryAttachment.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryAttachment.m; sourceTree = "<group>"; };
@@ -1838,7 +1838,6 @@
18381838
7BE0DC28272A9E1C004FA8B7 /* SentryBreadcrumbTrackerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryBreadcrumbTrackerTests.swift; sourceTree = "<group>"; };
18391839
7BE0DC2E272ABAF6004FA8B7 /* SentryAutoBreadcrumbTrackingIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryAutoBreadcrumbTrackingIntegrationTests.swift; sourceTree = "<group>"; };
18401840
7BE0DC30272ABCEC004FA8B7 /* SentryAutoBreadcrumbTrackingIntegration+Test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "SentryAutoBreadcrumbTrackingIntegration+Test.h"; sourceTree = "<group>"; };
1841-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentrySession+Private.h"; path = "include/SentrySession+Private.h"; sourceTree = "<group>"; };
18421841
7BE1E33124F7E3B6009D3AD0 /* SentryMigrateSessionInit.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryMigrateSessionInit.h; path = include/SentryMigrateSessionInit.h; sourceTree = "<group>"; };
18431842
7BE1E33324F7E3CB009D3AD0 /* SentryMigrateSessionInit.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryMigrateSessionInit.m; sourceTree = "<group>"; };
18441843
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
FAAB2F962E4D344F00FE8B7E /* SentryUIDeviceWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryUIDeviceWrapper.swift; sourceTree = "<group>"; };
24552455
FAAB30F22E4E8F2C00FE8B7E /* SentryInAppLogic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryInAppLogic.swift; sourceTree = "<group>"; };
24562456
FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryEventSwiftHelper.h; path = include/SentryEventSwiftHelper.h; sourceTree = "<group>"; };
@@ -2724,9 +2724,8 @@
27242724
6360850B1ED2AFE100E8599E /* SentryBreadcrumb.h */,
27252725
6360850C1ED2AFE100E8599E /* SentryBreadcrumb.m */,
27262726
92672BB529C9A2A9006B021C /* SentryBreadcrumb+Private.h */,
2727-
7B4E24FB251C97B400060D68 /* SentrySession.h */,
2728-
15E0A8F12411A45A00F044E3 /* SentrySession.m */,
2729-
7BE1E32624F7AE08009D3AD0 /* SentrySession+Private.h */,
2727+
7B4E24FB251C97B400060D68 /* SentrySessionInternal.h */,
2728+
15E0A8F12411A45A00F044E3 /* SentrySessionInternal.m */,
27302729
7BFC169A2524995700FF6266 /* SentryMessage.h */,
27312730
7BFC16A025249A9D00FF6266 /* SentryMessage.m */,
27322731
7B4E375425822C4500059C93 /* SentryAttachment.h */,
@@ -4334,6 +4333,7 @@
43344333
isa = PBXGroup;
43354334
children = (
43364335
FABB48B22E59310D0071397E /* Transaction */,
4336+
FAAB29F02E3D252000ACD577 /* SentrySession.swift */,
43374337
FA67DCF32DDBD4EA00896B02 /* Core */,
43384338
D8CAC02D2BA0663E00E38F34 /* Integrations */,
43394339
621D9F2D2B9B030E003D94DE /* Helper */,
@@ -5122,7 +5122,6 @@
51225122
7B63459D280EBA6300CFA05A /* SentryUIEventTracker.h in Headers */,
51235123
7B7D873424864C6600D2ECFF /* SentryCrashDefaultMachineContextWrapper.h in Headers */,
51245124
7BA61CC8247D125400C130A8 /* SentryThreadInspector.h in Headers */,
5125-
7BE1E32824F7AE08009D3AD0 /* SentrySession+Private.h in Headers */,
51265125
7B5CAF7127F5953400ED0DB6 /* SentryEnvelope+Private.h in Headers */,
51275126
63FE713320DA4C1100CDBAE8 /* SentryCrashCPU.h in Headers */,
51285127
6271ADF32BA06D9B0098D2E9 /* SentryInternalSerializable.h in Headers */,
@@ -5183,7 +5182,7 @@
51835182
6292585E2DAFA8290049388F /* SentryCrashMach-O.h in Headers */,
51845183
63FE715320DA4C1100CDBAE8 /* SentryCrashObjCApple.h in Headers */,
51855184
63FE710120DA4C1000CDBAE8 /* SentryCrashDate.h in Headers */,
5186-
7B4E24FC251C97B500060D68 /* SentrySession.h in Headers */,
5185+
7B4E24FC251C97B500060D68 /* SentrySessionInternal.h in Headers */,
51875186
D8B665BC2B95F73200BD0E7B /* SentryPrivate.h in Headers */,
51885187
7B7D872C2486480B00D2ECFF /* SentryStacktraceBuilder.h in Headers */,
51895188
7B42C48027E08F33009B58C2 /* SentryDependencyContainer.h in Headers */,
@@ -5765,6 +5764,7 @@
57655764
D41415A72DEEE532003B14D5 /* SentryRedactViewHelper.swift in Sources */,
57665765
FA67DD002DDBD4EA00896B02 /* SentryMaskRenderer.swift in Sources */,
57675766
FA67DD012DDBD4EA00896B02 /* SentryMXCallStackTree.swift in Sources */,
5767+
FAAB29F12E3D252300ACD577 /* SentrySession.swift in Sources */,
57685768
FA67DD022DDBD4EA00896B02 /* SentryViewScreenshotProvider.swift in Sources */,
57695769
FA67DD032DDBD4EA00896B02 /* SentryTransactionNameSource.swift in Sources */,
57705770
FA67DD042DDBD4EA00896B02 /* SwiftDescriptor.swift in Sources */,
@@ -5806,7 +5806,7 @@
58065806
D4ECA4012E3CBEDE00C757EA /* SentryDummyPublicEmptyClass.m in Sources */,
58075807
D4ECA4022E3CBEDE00C757EA /* SentryDummyPrivateEmptyClass.m in Sources */,
58085808
D80299502BA83A88000F0081 /* SentryPixelBuffer.swift in Sources */,
5809-
15E0A8F22411A45A00F044E3 /* SentrySession.m in Sources */,
5809+
15E0A8F22411A45A00F044E3 /* SentrySessionInternal.m in Sources */,
58105810
D83D079C2B7F9D1C00CC9674 /* SentryMsgPackSerializer.m in Sources */,
58115811
D452FCBF2DDB6FD200AFF56F /* SentryWatchdogTerminationAttributesProcessor.swift in Sources */,
58125812
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)