Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Samples/iOS-Swift/iOS-Swift/Tools/SentryExposure.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,4 @@ NS_ASSUME_NONNULL_BEGIN

@end

#if SDK_V9
@interface SentryScope ()

- (NSDictionary *)serialize;

@end
#endif

NS_ASSUME_NONNULL_END
12 changes: 0 additions & 12 deletions Sentry.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,6 @@
FA34C1A32E692A5000BC52AA /* SentryEnvelopeItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA34C1A22E692A5000BC52AA /* SentryEnvelopeItem.swift */; };
FA3734842E0F086C0091EF24 /* SentryDependencyContainerSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3734832E0F07A20091EF24 /* SentryDependencyContainerSwiftHelper.h */; };
FA3734862E0F09320091EF24 /* SentryDependencyContainerSwiftHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = FA3734852E0F092F0091EF24 /* SentryDependencyContainerSwiftHelper.m */; };
FA3854362E267DA60045A563 /* SentryUser+Serialize.h in Headers */ = {isa = PBXBuildFile; fileRef = FA3854352E267DA20045A563 /* SentryUser+Serialize.h */; };
FA3A42722E1C5F9B00A08C39 /* SentryNSNotificationCenterWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA3A42712E1C5F9B00A08C39 /* SentryNSNotificationCenterWrapper.swift */; };
FA3AEE782E68E2830092283E /* SentryEnvelopeHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA3AEE772E68E2830092283E /* SentryEnvelopeHeader.swift */; };
FA458CC32E691A730061B13D /* SentryProcessInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA458CBD2E691A6E0061B13D /* SentryProcessInfo.swift */; };
Expand Down Expand Up @@ -1119,7 +1118,6 @@
FAB007522E9FE2FF001C806A /* SentrySwizzleWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAB0074C2E9FE2FA001C806A /* SentrySwizzleWrapper.swift */; };
FAB359982E05D7E90083D5E3 /* SentryEventSwiftHelper.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */; };
FAB3599A2E05D8080083D5E3 /* SentryEventSwiftHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = FAB359992E05D8080083D5E3 /* SentryEventSwiftHelper.m */; };
FAB7BBA92E2577A6007301E1 /* SentryModels+Serializable.h in Headers */ = {isa = PBXBuildFile; fileRef = FAB7BBA82E2577A2007301E1 /* SentryModels+Serializable.h */; };
FABB48B32E59310D0071397E /* SentryMeasurementValue.swift in Sources */ = {isa = PBXBuildFile; fileRef = FABB48B12E59310D0071397E /* SentryMeasurementValue.swift */; };
FABE8E152E307A5E0040809A /* SentrySDK.swift in Sources */ = {isa = PBXBuildFile; fileRef = FABE8E142E307A5C0040809A /* SentrySDK.swift */; };
FABE8E172E307A7F0040809A /* Dependencies.swift in Sources */ = {isa = PBXBuildFile; fileRef = FABE8E162E307A7C0040809A /* Dependencies.swift */; };
Expand All @@ -1135,7 +1133,6 @@
FAE579CC2E7DE14900B710F9 /* SentryFrameRemover.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAE579C62E7DE14400B710F9 /* SentryFrameRemover.swift */; };
FAE57BF72E83049E00B710F9 /* SentryDisplayLinkWrapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAE57BF12E83049900B710F9 /* SentryDisplayLinkWrapper.swift */; };
FAE57C082E83092E00B710F9 /* SentryDispatchFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAE57C072E83092A00B710F9 /* SentryDispatchFactory.swift */; };
FAE80C242E4695B40010A595 /* SentryEvent+Serialize.h in Headers */ = {isa = PBXBuildFile; fileRef = FAE80C232E4695AE0010A595 /* SentryEvent+Serialize.h */; };
FAEC273D2DF3933A00878871 /* NSData+Unzip.m in Sources */ = {isa = PBXBuildFile; fileRef = FAEC273C2DF3933200878871 /* NSData+Unzip.m */; };
FAEEBFE22E736D4B00E79CA9 /* SentryViewHierarchyProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAEEBFDC2E736D4100E79CA9 /* SentryViewHierarchyProvider.swift */; };
FAEEBFEA2E74517B00E79CA9 /* SentryFileManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAEEBFE92E74517800E79CA9 /* SentryFileManager.swift */; };
Expand Down Expand Up @@ -2414,7 +2411,6 @@
FA34C1A22E692A5000BC52AA /* SentryEnvelopeItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryEnvelopeItem.swift; sourceTree = "<group>"; };
FA3734832E0F07A20091EF24 /* SentryDependencyContainerSwiftHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryDependencyContainerSwiftHelper.h; path = include/SentryDependencyContainerSwiftHelper.h; sourceTree = "<group>"; };
FA3734852E0F092F0091EF24 /* SentryDependencyContainerSwiftHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryDependencyContainerSwiftHelper.m; sourceTree = "<group>"; };
FA3854352E267DA20045A563 /* SentryUser+Serialize.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryUser+Serialize.h"; path = "include/SentryUser+Serialize.h"; sourceTree = "<group>"; };
FA3A42712E1C5F9B00A08C39 /* SentryNSNotificationCenterWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryNSNotificationCenterWrapper.swift; sourceTree = "<group>"; };
FA3AEE772E68E2830092283E /* SentryEnvelopeHeader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryEnvelopeHeader.swift; sourceTree = "<group>"; };
FA458CBD2E691A6E0061B13D /* SentryProcessInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryProcessInfo.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2499,7 +2495,6 @@
FAB0074C2E9FE2FA001C806A /* SentrySwizzleWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentrySwizzleWrapper.swift; sourceTree = "<group>"; };
FAB359972E05D7E90083D5E3 /* SentryEventSwiftHelper.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SentryEventSwiftHelper.h; path = include/SentryEventSwiftHelper.h; sourceTree = "<group>"; };
FAB359992E05D8080083D5E3 /* SentryEventSwiftHelper.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SentryEventSwiftHelper.m; sourceTree = "<group>"; };
FAB7BBA82E2577A2007301E1 /* SentryModels+Serializable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryModels+Serializable.h"; path = "include/SentryModels+Serializable.h"; sourceTree = "<group>"; };
FABB48B12E59310D0071397E /* SentryMeasurementValue.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryMeasurementValue.swift; sourceTree = "<group>"; };
FABE8E142E307A5C0040809A /* SentrySDK.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentrySDK.swift; sourceTree = "<group>"; };
FABE8E162E307A7C0040809A /* Dependencies.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Dependencies.swift; sourceTree = "<group>"; };
Expand All @@ -2515,7 +2510,6 @@
FAE579C62E7DE14400B710F9 /* SentryFrameRemover.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryFrameRemover.swift; sourceTree = "<group>"; };
FAE57BF12E83049900B710F9 /* SentryDisplayLinkWrapper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDisplayLinkWrapper.swift; sourceTree = "<group>"; };
FAE57C072E83092A00B710F9 /* SentryDispatchFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryDispatchFactory.swift; sourceTree = "<group>"; };
FAE80C232E4695AE0010A595 /* SentryEvent+Serialize.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = "SentryEvent+Serialize.h"; path = "include/SentryEvent+Serialize.h"; sourceTree = "<group>"; };
FAEC273C2DF3933200878871 /* NSData+Unzip.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "NSData+Unzip.m"; sourceTree = "<group>"; };
FAEC273E2DF393E000878871 /* NSData+Unzip.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "NSData+Unzip.h"; sourceTree = "<group>"; };
FAEEBFDC2E736D4100E79CA9 /* SentryViewHierarchyProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SentryViewHierarchyProvider.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -2758,7 +2752,6 @@
639FCF961EBC7B9700778193 /* SentryEvent.h */,
639FCF971EBC7B9700778193 /* SentryEvent.m */,
D880E3B02860A5A0008A90DB /* SentryEvent+Private.h */,
FAE80C232E4695AE0010A595 /* SentryEvent+Serialize.h */,
639FCF9E1EBC804600778193 /* SentryException.h */,
639FCF9F1EBC804600778193 /* SentryException.m */,
6334313F20AD9AE40077E581 /* SentryMechanism.h */,
Expand All @@ -2778,7 +2771,6 @@
843FB3212D0CD04D00558F18 /* SentryUserAccess.h */,
843FB3222D0CD04D00558F18 /* SentryUserAccess.m */,
92F6726A29C8B7B000BFD34D /* SentryUser+Private.h */,
FA3854352E267DA20045A563 /* SentryUser+Serialize.h */,
9286059429A5096600F96038 /* SentryGeo.h */,
9286059629A5098900F96038 /* SentryGeo.m */,
63B818F71EC34639002FDF4C /* SentryDebugMeta.h */,
Expand Down Expand Up @@ -2968,7 +2960,6 @@
639889BA1EDED18400EA7442 /* SentrySwizzle.m */,
7BC63F0728081242009D9E37 /* SentrySwizzleWrapperHelper.h */,
7BC63F0928081288009D9E37 /* SentrySwizzleWrapperHelper.m */,
FAB7BBA82E2577A2007301E1 /* SentryModels+Serializable.h */,
7B8ECBF926498906005FE2EF /* SentryDefaultAppStateManager.h */,
7B8ECBFB26498958005FE2EF /* SentryDefaultAppStateManager.m */,
7BD86EC4264A63F6005439DB /* SentrySysctlObjC.h */,
Expand Down Expand Up @@ -5091,7 +5082,6 @@
7BAF3DD92440AEC8008A5414 /* SentryRequestManager.h in Headers */,
62862B1C2B1DDBC8009B16E3 /* SentryDelayedFrame.h in Headers */,
627E7589299F6FE40085504D /* SentryInternalDefines.h in Headers */,
FA3854362E267DA60045A563 /* SentryUser+Serialize.h in Headers */,
7D0637032382B34300B30749 /* SentryScope.h in Headers */,
03F84D2727DD414C008FE43F /* SentryMachLogging.hpp in Headers */,
63295AF51EF3C7DB002D4490 /* SentryNSDictionarySanitize.h in Headers */,
Expand Down Expand Up @@ -5208,7 +5198,6 @@
7B96572026830C9100C66E25 /* SentryScopeSyncC.h in Headers */,
63FE70EB20DA4C1000CDBAE8 /* SentryCrashMonitor_MachException.h in Headers */,
D456B4362D706BF2007068CB /* SentryTraceOrigin.h in Headers */,
FAE80C242E4695B40010A595 /* SentryEvent+Serialize.h in Headers */,
7BD86ECF264A7C77005439DB /* SentryAppStartMeasurement.h in Headers */,
0354A22B2A134D9C003C3A04 /* SentryProfilerState.h in Headers */,
7DC8310A2398283C0043DD9A /* SentryCrashIntegration.h in Headers */,
Expand Down Expand Up @@ -5298,7 +5287,6 @@
848A451E2BBF9504006AAAEC /* SentryProfilerTestHelpers.h in Headers */,
639FCF9C1EBC7F9500778193 /* SentryThread.h in Headers */,
63FE716B20DA4C1100CDBAE8 /* SentryCrashJSONCodecObjC.h in Headers */,
FAB7BBA92E2577A6007301E1 /* SentryModels+Serializable.h in Headers */,
63AA76A51EB9CBC200D153DE /* SentryDsn.h in Headers */,
844EDD6C2949387000C86F34 /* SentryMetricProfiler.h in Headers */,
F452438A2DE65968003E8F50 /* ExceptionCatcher.h in Headers */,
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Profiling/SentryProfilerSerialization.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# import "SentryLogC.h"
# import "SentryMeta.h"
# import "SentryMetricProfiler.h"
# import "SentryModels+Serializable.h"
# import "SentryProfileTimeseries.h"
# import "SentryProfiledTracerConcurrency.h"
# import "SentryProfiler+Private.h"
Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryBreadcrumb.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Breadcrumb)
@interface SentryBreadcrumb : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryBreadcrumb : NSObject <SentrySerializable>

/**
* Level of breadcrumb
Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryDebugMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -22,10 +20,7 @@ NS_ASSUME_NONNULL_BEGIN
* @c SentryDebugImage in a future version.
*/
NS_SWIFT_NAME(DebugMeta)
@interface SentryDebugMeta : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryDebugMeta : NSObject <SentrySerializable>

/**
* Identifier of the dynamic library or executable. It is the value of the @c LC_UUID load command
Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryEnvelopeItemHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

@interface SentryEnvelopeItemHeader : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryEnvelopeItemHeader : NSObject <SentrySerializable>

SENTRY_NO_INIT

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif // !SDK_V9
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -24,10 +22,7 @@ NS_ASSUME_NONNULL_BEGIN
@class SentryUser;

NS_SWIFT_NAME(Event)
@interface SentryEvent : NSObject
#if !SDK_V9
<SentrySerializable>
#endif // !SDK_V9
@interface SentryEvent : NSObject <SentrySerializable>

/**
* This will be set by the initializer.
Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryException.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

@class SentryMechanism;
@class SentryStacktrace;

NS_SWIFT_NAME(Exception)
@interface SentryException : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryException : NSObject <SentrySerializable>

SENTRY_NO_INIT

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryFrame.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,12 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(Frame)
@interface SentryFrame : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryFrame : NSObject <SentrySerializable>

/**
* SymbolAddress of the frame
Expand Down
11 changes: 2 additions & 9 deletions Sources/Sentry/Public/SentryGeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -23,12 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
/// }
/// }
NS_SWIFT_NAME(Geo)
@interface SentryGeo : NSObject
#if !SDK_V9
<SentrySerializable, NSCopying>
#else
<NSCopying>
#endif
@interface SentryGeo : NSObject <SentrySerializable, NSCopying>

/**
* Optional: Human readable city name.
Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryMechanism.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,15 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

@class SentryNSError;
@class SentryMechanismMeta;

NS_SWIFT_NAME(Mechanism)
@interface SentryMechanism : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryMechanism : NSObject <SentrySerializable>

SENTRY_NO_INIT

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryMechanismMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

@class SentryNSError;

Expand All @@ -20,10 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
* @see https://develop.sentry.dev/sdk/event-payloads/exception/#meta-information.
*/
NS_SWIFT_NAME(MechanismMeta)
@interface SentryMechanismMeta : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryMechanismMeta : NSObject <SentrySerializable>

- (instancetype)init;

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryMessage.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

Expand All @@ -17,10 +15,7 @@ NS_ASSUME_NONNULL_BEGIN
* and structured parameters. This can help to group similar messages into the same issue.
* @see https://develop.sentry.dev/sdk/event-payloads/message/
*/
@interface SentryMessage : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryMessage : NSObject <SentrySerializable>

SENTRY_NO_INIT

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryNSError.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

/**
* Sentry representation of an @c NSError to send to Sentry.
*/
@interface SentryNSError : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryNSError : NSObject <SentrySerializable>

SENTRY_NO_INIT

Expand Down
9 changes: 2 additions & 7 deletions Sources/Sentry/Public/SentryRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@
#else
# import <SentryDefines.h>
#endif
#if !SDK_V9
# import SENTRY_HEADER(SentrySerializable)
#endif
#import SENTRY_HEADER(SentrySerializable)

NS_ASSUME_NONNULL_BEGIN

@interface SentryRequest : NSObject
#if !SDK_V9
<SentrySerializable>
#endif
@interface SentryRequest : NSObject <SentrySerializable>

/**
* Optional: HTTP response body size.
Expand Down
Loading
Loading