Skip to content

Commit 0cd6497

Browse files
committed
ref: Remove SentrySerializable on user
1 parent 827b50c commit 0cd6497

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

Sentry.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@
10371037
FA34C1A32E692A5000BC52AA /* SentryEnvelopeItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA34C1A22E692A5000BC52AA /* SentryEnvelopeItem.swift */; };
10381038
FA3734842E0F086C0091EF24 /* SentryDependencyContainerSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3734832E0F07A20091EF24 /* SentryDependencyContainerSwiftHelper.h */; };
10391039
FA3734862E0F09320091EF24 /* SentryDependencyContainerSwiftHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3734852E0F092F0091EF24 /* SentryDependencyContainerSwiftHelper.m */; };
1040-
FA3854362E267DA60045A563 /* SentryUser+Serialize.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3854352E267DA20045A563 /* SentryUser+Serialize.h */; };
1040+
FA3854362E267DA60045A563 /* SentryUser+Serialize.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3854352E267DA20045A563 /* SentryUser+Serialize.h */; settings = {ATTRIBUTES = (Private, ); }; };
10411041
FA3A42722E1C5F9B00A08C39 /* SentryNSNotificationCenterWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA3A42712E1C5F9B00A08C39 /* SentryNSNotificationCenterWrapper.swift */; };
10421042
FA3AEE782E68E2830092283E /* SentryEnvelopeHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA3AEE772E68E2830092283E /* SentryEnvelopeHeader.swift */; };
10431043
FA458CC32E691A730061B13D /* SentryProcessInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA458CBD2E691A6E0061B13D /* SentryProcessInfo.swift */; };

Sources/Sentry/Public/SentryUser.h

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,13 @@
55
#else
66
# import <SentryDefines.h>
77
#endif
8-
#if !SDK_V9
9-
# import SENTRY_HEADER(SentrySerializable)
10-
#endif // !SDK_V9
118

129
NS_ASSUME_NONNULL_BEGIN
1310

1411
@class SentryGeo;
1512

1613
NS_SWIFT_NAME(User)
17-
@interface SentryUser : NSObject
18-
#if SDK_V9
19-
<NSCopying>
20-
#else
21-
<SentrySerializable, NSCopying>
22-
#endif // SDK_V9
14+
@interface SentryUser : NSObject <NSCopying>
2315

2416
/**
2517
* Optional: Id of the user

Sources/Sentry/include/HybridPublic/SentryUser+Private.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# import "SentryUser.h"
55
#endif
66

7-
@interface SentryUser ()
7+
@interface SentryUser () <SentrySerializable>
88

99
/**
1010
* Initializes a SentryUser from a dictionary.
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
#if SDK_V9
2-
# import "SentrySerializable.h"
3-
# import "SentryUser.h"
4-
5-
@interface SentryUser () <SentrySerializable>
6-
7-
@end
8-
#endif // SDK_V9
1+
//# import "SentrySerializable.h"
2+
//
3+
//@interface SentryUser (Serializable) <SentrySerializable>
4+
//
5+
//@end

0 commit comments

Comments
 (0)