Skip to content

Commit 9ef599d

Browse files
authored
Merge branch 'main' into itay/cocoa-547-convert-sentryscreenframes-to-swift
2 parents 6763b35 + 3b059e5 commit 9ef599d

File tree

82 files changed

+574
-688
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+574
-688
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
### Fixes
66

7-
- Fix potential app launch hang caused by the SentrySDK (#6181) Fixed by removing the call to `_dyld_get_image_header` on the main thread.
8-
- Fix dyanmic selector crash in SentryReplayRecording (#6211)
7+
- Fix potential app launch hang caused by the SentrySDK (#6181)
8+
Fixed by removing the call to `_dyld_get_image_header` on the main thread.
9+
- Fix dynamic selector crash in SentryReplayRecording (#6211)
910

1011
## 8.56.0
1112

Sentry.xcodeproj/project.pbxproj

Lines changed: 40 additions & 48 deletions
Large diffs are not rendered by default.

SentryTestUtils/SentryTestUtils-ObjC-BridgingHeader.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#import "SentryDependencyContainer.h"
3636
#import "SentryDispatchFactory.h"
3737
#import "SentryFileManager+Test.h"
38-
#import "SentryGlobalEventProcessor.h"
3938
#import "SentryHub+Private.h"
4039
#import "SentryHub+Test.h"
4140
#import "SentryLogC.h"

Sources/Sentry/PrivateSentrySDKOnly.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#import "SentrySessionReplayIntegration+Private.h"
1818
#import "SentrySwift.h"
1919
#import "SentryUser+Private.h"
20-
#import "SentryViewHierarchyProvider.h"
2120
#import <SentryBreadcrumb.h>
2221
#import <SentryDependencyContainer.h>
2322
#import <SentryFramesTracker.h>

Sources/Sentry/Processors/SentryWatchdogTerminationBreadcrumbProcessor.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#import "SentryInternalDefines.h"
44
#import "SentryLogC.h"
55
#import "SentrySerialization.h"
6+
#import "SentrySwift.h"
67

78
@interface SentryWatchdogTerminationBreadcrumbProcessor ()
89

@@ -40,7 +41,7 @@ - (void)dealloc
4041
- (void)addSerializedBreadcrumb:(NSDictionary *)crumb
4142
{
4243
SENTRY_LOG_DEBUG(@"Adding breadcrumb: %@", crumb);
43-
NSData *_Nullable jsonData = [SentrySerialization dataWithJSONObject:crumb];
44+
NSData *_Nullable jsonData = [SentrySerializationSwift dataWithJSONObject:crumb];
4445
if (jsonData == nil) {
4546
SENTRY_LOG_ERROR(@"Error serializing breadcrumb to JSON");
4647
return;

Sources/Sentry/Profiling/SentryProfilerSerialization.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@
331331
return nil;
332332
}
333333

334-
NSData *JSONData = [SentrySerialization dataWithJSONObject:payload];
334+
NSData *JSONData = [SentrySerializationSwift dataWithJSONObject:payload];
335335
if (JSONData == nil) {
336336
SENTRY_LOG_DEBUG(@"Failed to encode profile to JSON.");
337337
return nil;
@@ -396,7 +396,7 @@
396396
payload[@"transaction"] = transactionDict;
397397
payload[@"timestamp"] = sentry_toIso8601String(startTimestamp);
398398

399-
NSData *JSONData = [SentrySerialization dataWithJSONObject:payload];
399+
NSData *JSONData = [SentrySerializationSwift dataWithJSONObject:payload];
400400
if (JSONData == nil) {
401401
SENTRY_LOG_DEBUG(@"Failed to encode profile to JSON.");
402402
return nil;

Sources/Sentry/SentryANRTrackerV1.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#import "SentryDependencyContainer.h"
33
#import "SentryLogC.h"
44
#import "SentrySwift.h"
5-
#import "SentryThreadWrapper.h"
65
#import <stdatomic.h>
76

87
NS_ASSUME_NONNULL_BEGIN

Sources/Sentry/SentryANRTrackerV2.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# import "SentryFramesTracker.h"
77
# import "SentryLogC.h"
88
# import "SentrySwift.h"
9-
# import "SentryThreadWrapper.h"
109
# import "SentryTime.h"
1110
# import <stdatomic.h>
1211

Sources/Sentry/SentryANRTrackingIntegration.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#import "SentrySwift.h"
1515
#import "SentryThread.h"
1616
#import "SentryThreadInspector.h"
17-
#import "SentryThreadWrapper.h"
1817
#import <SentryOptions+Private.h>
1918

2019
#if SENTRY_HAS_UIKIT

Sources/Sentry/SentryAppStartTracker.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
# import "SentryDefines.h"
88
# import "SentryFramesTracker.h"
99
# import "SentryLogC.h"
10-
# import "SentrySysctl.h"
1110
# import <PrivateSentrySDKOnly.h>
1211
# import <SentryDependencyContainer.h>
1312
# import <SentryInternalDefines.h>

0 commit comments

Comments
 (0)