File tree Expand file tree Collapse file tree 5 files changed +16
-6
lines changed
Integrations/SessionReplay/RRWeb Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
3737# import <Sentry/SentrySampleDecision.h>
3838# import <Sentry/SentrySamplingContext.h>
3939# import <Sentry/SentryScope.h>
40- # import <Sentry/SentrySerializable.h>
40+ # if !SDK_V9
41+ # import <Sentry/SentrySerializable.h>
42+ # endif
4143# import <Sentry/SentrySpanContext.h>
4244# import <Sentry/SentrySpanId.h>
4345# import <Sentry/SentrySpanProtocol.h>
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
3838# import <SentryWithoutUIKit/SentrySampleDecision.h>
3939# import <SentryWithoutUIKit/SentrySamplingContext.h>
4040# import <SentryWithoutUIKit/SentryScope.h>
41- # import <SentryWithoutUIKit/SentrySerializable.h>
41+ # if !SDK_V9
42+ # import <SentryWithoutUIKit/SentrySerializable.h>
43+ # endif
4244# import <SentryWithoutUIKit/SentrySpanContext.h>
4345# import <SentryWithoutUIKit/SentrySpanId.h>
4446# import <SentryWithoutUIKit/SentrySpanProtocol.h>
Original file line number Diff line number Diff line change @@ -15,7 +15,12 @@ NS_ASSUME_NONNULL_BEGIN
1515@class SentryFramesTracker;
1616#endif // SENTRY_HAS_UIKIT
1717
18- @interface SentrySpan : NSObject <SentrySpan, SentrySerializable>
18+ @interface SentrySpan : NSObject
19+ #if !SDK_V9
20+ <SentrySpan, SentrySerializable>
21+ #else
22+ <SentrySpan>
23+ #endif
1924SENTRY_NO_INIT
2025
2126/* *
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ enum SentryRRWebEventType: Int {
1010}
1111
1212@objc ( SentryRRWebEvent)
13- @_spi ( Private) public protocol SentryRRWebEventProtocol : SentrySerializable {
13+ @_spi ( Private) public protocol SentryRRWebEventProtocol {
14+ func serialize( ) -> [ String : Any ]
1415}
1516
1617@objcMembers
Original file line number Diff line number Diff line change 11@_implementationOnly import _SentryPrivate
22import Foundation
33
4- @objcMembers @_spi ( Private) public class SentryAppState : NSObject , SentrySerializable {
4+ @objcMembers @_spi ( Private) public class SentryAppState : NSObject {
55
66 public private( set) var releaseName : String ?
77 public private( set) var osVersion : String
@@ -129,4 +129,4 @@ import Foundation
129129
130130 return data
131131 }
132- }
132+ }
You can’t perform that action at this time.
0 commit comments