Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/test-cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
with:
repository: getsentry/sentry-react-native
path: sentry-react-native
ref: itay/frames_tracker_swift
ref: debugImageProviderSwift

- name: Enable Corepack
working-directory: sentry-react-native
Expand Down
30 changes: 12 additions & 18 deletions Sentry.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion SentryTestUtils/SentryTestUtils-ObjC-BridgingHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#import "SentryCrashCachedData.h"
#import "SentryCrashInstallation+Private.h"
#import "SentryCrashMonitor_MachException.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#import "SentryDefaultThreadInspector.h"
#import "SentryDependencyContainer.h"
#import "SentryFileManager+Test.h"
Expand Down
14 changes: 2 additions & 12 deletions SentryTestUtils/TestDebugImageProvider.swift
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
import _SentryPrivate
import Foundation
@testable import Sentry
@_spi(Private) @testable import Sentry

public class TestDebugImageProvider: SentryDebugImageProvider {
@_spi(Private) public class TestDebugImageProvider: SentryDebugImageProvider {
public var debugImages: [DebugMeta]?

@available(*, deprecated)
public override func getDebugImages() -> [DebugMeta] {
getDebugImagesCrashed(true)
}

@available(*, deprecated)
public override func getDebugImagesCrashed(_ isCrash: Bool) -> [DebugMeta] {
debugImages ?? super.getDebugImagesCrashed(isCrash)
}

public var getDebugImagesFromCacheForFramesInvocations = Invocations<Void>()
public override func getDebugImagesFromCacheForFrames(frames: [Frame]) -> [DebugMeta] {
Expand Down
1 change: 0 additions & 1 deletion Sources/Resources/Sentry.modulemap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ framework module Sentry {
header "PrivatesHeader.h"
header "SentryAppStartMeasurement.h"
header "SentryBreadcrumb+Private.h"
header "SentryDebugImageProvider+HybridSDKs.h"
header "SentryDependencyContainer.h"
header "SentryFormatter.h"
header "SentryOptionsInternal.h"
Expand Down
19 changes: 0 additions & 19 deletions Sources/Sentry/PrivateSentrySDKOnly.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#import "SentryAppStartMeasurement.h"
#import "SentryBreadcrumb+Private.h"
#import "SentryClient.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#import "SentryDebugImageProvider.h"
#import "SentryHub+Private.h"
#import "SentryInstallation.h"
#import "SentryInternalDefines.h"
Expand Down Expand Up @@ -50,23 +48,6 @@ + (nullable SentryEnvelope *)envelopeWithData:(NSData *)data
return [SentrySerializationSwift envelopeWithData:data];
}

#if !SDK_V9
+ (NSArray<SentryDebugMeta *> *)getDebugImages
{
// maintains previous behavior for the same method call by also trying to gather crash info
return [self getDebugImagesCrashed:YES];
}

+ (NSArray<SentryDebugMeta *> *)getDebugImagesCrashed:(BOOL)isCrash
{
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
return [[SentryDependencyContainer sharedInstance].debugImageProvider
getDebugImagesCrashed:isCrash];
# pragma clang diagnostic pop
}
#endif // !SDK_V9

+ (nullable SentryAppStartMeasurement *)appStartMeasurement
{
return [SentrySDKInternal getAppStartMeasurement];
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 @@ -4,7 +4,6 @@

# import "SentryClient+Private.h"
# import "SentryDateUtils.h"
# import "SentryDebugImageProvider+HybridSDKs.h"
# import "SentryDependencyContainer.h"
# import "SentryDevice.h"
# import "SentryEnvelopeItemHeader.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/Public/Sentry.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
# import <Sentry/SentryBreadcrumb.h>
# import <Sentry/SentryClient.h>
# import <Sentry/SentryCrashExceptionApplication.h>
# import <Sentry/SentryDebugImageProvider.h>
# import <Sentry/SentryDebugMeta.h>
# import <Sentry/SentryDefines.h>
# import <Sentry/SentryDsn.h>
Expand Down
93 changes: 0 additions & 93 deletions Sources/Sentry/Public/SentryDebugImageProvider.h

This file was deleted.

1 change: 0 additions & 1 deletion Sources/Sentry/Public/SentryWithoutUIKit.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ FOUNDATION_EXPORT const unsigned char SentryVersionString[];
# import <SentryWithoutUIKit/SentryBreadcrumb.h>
# import <SentryWithoutUIKit/SentryClient.h>
# import <SentryWithoutUIKit/SentryCrashExceptionApplication.h>
# import <SentryWithoutUIKit/SentryDebugImageProvider.h>
# import <SentryWithoutUIKit/SentryDebugMeta.h>
# import <SentryWithoutUIKit/SentryDefines.h>
# import <SentryWithoutUIKit/SentryDsn.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryANRTrackingIntegration.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "SentryANRTrackingIntegration.h"
#import "SentryCrashMachineContext.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#import "SentryDependencyContainer.h"
#import "SentryEvent.h"
#import "SentryException.h"
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#import "SentryCrashDefaultMachineContextWrapper.h"
#import "SentryCrashIntegration.h"
#import "SentryCrashStackEntryMapper.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#import "SentryDefaultThreadInspector.h"
#import "SentryDependencyContainer.h"
#import "SentryDeviceContextKeys.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#import "SentryDebugImageProvider.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#if !SDK_V9
# import "SentryCrashDefaultBinaryImageProvider.h"
#endif // !SDK_V9
#import "SentryDebugImageProviderInternal.h"
#import "SentryCrashDynamicLinker.h"
#import "SentryCrashUUIDConversion.h"
#import "SentryDebugMeta.h"
Expand All @@ -18,46 +14,31 @@

NS_ASSUME_NONNULL_BEGIN

@interface SentryDebugImageProvider ()
@interface SentryDebugImageProviderInternal ()

#if !SDK_V9
@property (nonatomic, strong) id<SentryCrashBinaryImageProvider> binaryImageProvider;
#endif // !SDK_V9
@property (nonatomic, strong) SentryBinaryImageCache *binaryImageCache;

@end

@implementation SentryDebugImageProvider
@implementation SentryDebugImageProviderInternal

- (instancetype)init
{
#if SDK_V9
self =
[self initWithBinaryImageCache:SentryDependencyContainer.sharedInstance.binaryImageCache];
#else
SentryCrashDefaultBinaryImageProvider *provider =
[[SentryCrashDefaultBinaryImageProvider alloc] init];
self = [self
initWithBinaryImageProvider:provider
binaryImageCache:SentryDependencyContainer.sharedInstance.binaryImageCache];
#endif // SDK_V9

return self;
}

/** Internal constructor for testing */
#if SDK_V9
- (instancetype)initWithBinaryImageCache:(SentryBinaryImageCache *)binaryImageCache
#else
- (instancetype)initWithBinaryImageProvider:(id<SentryCrashBinaryImageProvider>)binaryImageProvider
binaryImageCache:(SentryBinaryImageCache *)binaryImageCache
#endif // SDK_V9
- (instancetype)initWithBinaryImageCache:(SentryBinaryImageCache *_Nullable)binaryImageCache
{
if (self = [super init]) {
#if !SDK_V9
self.binaryImageProvider = binaryImageProvider;
#endif // !SDK_V9
self.binaryImageCache = binaryImageCache;
if (binaryImageCache) {
self.binaryImageCache = (SentryBinaryImageCache *)binaryImageCache;
} else {
self.binaryImageCache = SentryDependencyContainer.sharedInstance.binaryImageCache;
}
}
return self;
}
Expand All @@ -72,86 +53,6 @@ - (void)extractDebugImageAddressFromFrames:(NSArray<SentryFrame *> *)frames
}
}

#if !SDK_V9

- (NSArray<SentryDebugMeta *> *)getDebugImagesForAddresses:(NSSet<NSString *> *)addresses
isCrash:(BOOL)isCrash
{
NSMutableArray<SentryDebugMeta *> *result = [NSMutableArray array];

# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
NSArray<SentryDebugMeta *> *binaryImages = [self getDebugImagesCrashed:isCrash];
# pragma clang diagnostic pop

for (SentryDebugMeta *sourceImage in binaryImages) {
if (sourceImage.imageAddress &&
[addresses containsObject:SENTRY_UNWRAP_NULLABLE(NSString, sourceImage.imageAddress)]) {
[result addObject:sourceImage];
}
}

return result;
}

- (NSArray<SentryDebugMeta *> *)getDebugImagesForFrames:(NSArray<SentryFrame *> *)frames
{
// maintains previous behavior for the same method call by also trying to gather crash info
return [self getDebugImagesForFrames:frames isCrash:YES];
}

- (NSArray<SentryDebugMeta *> *)getDebugImagesForFrames:(NSArray<SentryFrame *> *)frames
isCrash:(BOOL)isCrash
{
NSMutableSet<NSString *> *imageAddresses = [[NSMutableSet alloc] init];
[self extractDebugImageAddressFromFrames:frames intoSet:imageAddresses];
return [self getDebugImagesForAddresses:imageAddresses isCrash:isCrash];
}

- (NSArray<SentryDebugMeta *> *)getDebugImagesForThreads:(NSArray<SentryThread *> *)threads
{
// maintains previous behavior for the same method call by also trying to gather crash info
return [self getDebugImagesForThreads:threads isCrash:YES];
}

- (NSArray<SentryDebugMeta *> *)getDebugImagesForThreads:(NSArray<SentryThread *> *)threads
isCrash:(BOOL)isCrash
{
NSMutableSet<NSString *> *imageAddresses = [[NSMutableSet alloc] init];

for (SentryThread *thread in threads) {
NSArray<SentryFrame *> *_Nullable frames = thread.stacktrace.frames;
if (frames != nil) {
[self extractDebugImageAddressFromFrames:SENTRY_UNWRAP_NULLABLE(NSArray, frames)
intoSet:imageAddresses];
}
}

return [self getDebugImagesForAddresses:imageAddresses isCrash:isCrash];
}

- (NSArray<SentryDebugMeta *> *)getDebugImages
{
// maintains previous behavior for the same method call by also trying to gather crash info
return [self getDebugImagesCrashed:YES];
}

- (NSArray<SentryDebugMeta *> *)getDebugImagesCrashed:(BOOL)isCrash
{
NSMutableArray<SentryDebugMeta *> *debugMetaArray = [NSMutableArray new];

NSInteger imageCount = [self.binaryImageProvider getImageCount];
for (NSInteger i = 0; i < imageCount; i++) {
SentryCrashBinaryImage image = [self.binaryImageProvider getBinaryImage:i isCrash:isCrash];
SentryDebugMeta *debugMeta = [self fillDebugMetaFrom:image];
[debugMetaArray addObject:debugMeta];
}

return debugMetaArray;
}

#endif // !SDK_V9

- (NSArray<SentryDebugMeta *> *)getDebugImagesForImageAddressesFromCache:
(NSSet<NSString *> *)imageAddresses
{
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryDependencyContainer.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#import "SentrySDK+Private.h"
#import "SentrySwift.h"
#import "SentrySystemWrapper.h"
#import <SentryDebugImageProvider+HybridSDKs.h>
#import <SentryDefaultUIViewControllerPerformanceTracker.h>
#import <SentryDependencyContainer.h>
#import <SentryPerformanceTracker.h>
Expand Down
1 change: 0 additions & 1 deletion Sources/Sentry/SentryTracer.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#import "PrivateSentrySDKOnly.h"
#import "SentryClient.h"
#import "SentryDebugImageProvider+HybridSDKs.h"
#import "SentryDependencyContainer.h"
#import "SentryEvent+Private.h"
#import "SentryHub+Private.h"
Expand Down Expand Up @@ -171,7 +170,7 @@
#endif // SENTRY_HAS_UIKIT

#if SENTRY_TARGET_PROFILING_SUPPORTED
_profilerReferenceID = sentry_startProfilerForTrace(configuration, hub, transactionContext);

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (DebugWithoutUIKit)

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check compiling Async Safe Logs

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (ReleaseWithoutUIKit)

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-Swift DebugV9

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build SDK v9

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-SwiftUI Debug

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-Swift Debug

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample SessionReplay-CameraTest Debug

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check UIKit linkage (Release)

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-ObjectiveC DebugV9

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check API Stability ()

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-Swift DebugV9

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Lint

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-SwiftUI DebugV9

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphonesimulator

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / maccatalyst

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphoneos

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / macosx

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / macosx

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / macosx

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / macosx

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Run SwiftUI Crash Test

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Analyze (cpp)

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 173 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'SentryHub * _Nullable' to non-nullable pointer type 'SentryHub * _Nonnull' [-Wnullable-to-nonnull-conversion]
_isProfiling = _profilerReferenceID != nil;
#endif // SENTRY_TARGET_PROFILING_SUPPORTED

Expand Down Expand Up @@ -581,7 +580,7 @@

#if SENTRY_TARGET_PROFILING_SUPPORTED
sentry_stopProfilerDueToFinishedTransaction(
_hub, _dispatchQueue, transaction, _isProfiling, self.startTimestamp, _startSystemTime

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (DebugWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check compiling Async Safe Logs

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (ReleaseWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build SDK v9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-SwiftUI Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample SessionReplay-CameraTest Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check UIKit linkage (Release)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-ObjectiveC DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check API Stability ()

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-SwiftUI DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Run SwiftUI Crash Test

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Analyze (cpp)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 583 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
# if SENTRY_HAS_UIKIT
,
appStartMeasurement
Expand Down Expand Up @@ -640,7 +639,7 @@
// Prewarming can execute code up to viewDidLoad of a UIViewController, and keep the app in the
// background. This can lead to auto-generated transactions lasting for minutes or even hours.
// Therefore, we drop transactions lasting longer than SENTRY_AUTO_TRANSACTION_MAX_DURATION.
NSTimeInterval transactionDuration = [self.timestamp timeIntervalSinceDate:self.startTimestamp];

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (DebugWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check compiling Async Safe Logs

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (ReleaseWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build SDK v9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-SwiftUI Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample SessionReplay-CameraTest Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check UIKit linkage (Release)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-ObjectiveC DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check API Stability ()

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample watchOS-Swift WatchKit App Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-SwiftUI DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Run SwiftUI Crash Test

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Analyze (cpp)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 642 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
if ([self isAutoGeneratedTransaction]
&& transactionDuration >= SENTRY_AUTO_TRANSACTION_MAX_DURATION) {
SENTRY_LOG_INFO(@"Auto generated transaction exceeded the max duration of %f seconds. Not "
Expand Down Expand Up @@ -699,7 +698,7 @@

@synchronized(_children) {
for (id<SentrySpan> childSpan in _children) {
if ([oldest compare:childSpan.timestamp] == NSOrderedAscending) {

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (DebugWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check compiling Async Safe Logs

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check no UIKit linkage (ReleaseWithoutUIKit)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build SDK v9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample macOS-SwiftUI Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample SessionReplay-CameraTest Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check UIKit linkage (Release)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-ObjectiveC DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check API Stability ()

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample watchOS-Swift WatchKit App Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / watchos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -WithoutUIKitOrAppKit, WithoutUIKit, sentry-withoutui... / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / macosx

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Run SwiftUI Crash Test

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Analyze (cpp)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 701 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]
oldest = childSpan.timestamp;
}
}
Expand Down Expand Up @@ -820,7 +819,7 @@
NSDate *appStartEndTimestamp =
[appStartTimestamp dateByAddingTimeInterval:measurement.duration];

NSTimeInterval difference = [appStartEndTimestamp timeIntervalSinceDate:self.startTimestamp];

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check compiling Async Safe Logs

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build SDK v9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample SessionReplay-CameraTest Debug

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check UIKit linkage (Release)

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Check API Stability ()

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample iOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / appletvos

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / xros

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Run SwiftUI Crash Test

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 822 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'NSDate * _Nullable' to non-nullable pointer type 'NSDate * _Nonnull' [-Wnullable-to-nonnull-conversion]

// Don't attach app start measurements if too much time elapsed between the end of the app start
// sequence and the start of the transaction. This makes transactions too long.
Expand Down Expand Up @@ -855,7 +854,7 @@
? [NSString stringWithFormat:@"%@.prewarmed", appContextType]
: appContextType;
NSMutableDictionary *context =
[[NSMutableDictionary alloc] initWithDictionary:[transaction context]];

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / appletvos

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Sample visionOS-Swift DebugV9

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphoneos

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / maccatalyst

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / appletvos

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / xros

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / xros

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / maccatalyst

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / iphonesimulator

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphoneos

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / appletvos

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, mh_dylib, -Dynamic, sentry-dynamic) / iphonesimulator

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (SentrySwiftUI, mh_dylib, sentry-swiftui) / maccatalyst

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / xros

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Build XCFramework Slices (Sentry, staticlib, sentry-static) / iphonesimulator

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]

Check warning on line 857 in Sources/Sentry/SentryTracer.m

View workflow job for this annotation

GitHub Actions / Unit iOS 17 Sentry

implicit conversion from nullable pointer 'NSDictionary<NSString *,NSDictionary<NSString *,id> *> * _Nullable' to non-nullable pointer type 'NSDictionary * _Nonnull' [-Wnullable-to-nonnull-conversion]
NSDictionary *appContext = @{ @"app" : @ { @"start_type" : appStartType } };
[SentryDictionary mergeEntriesFromDictionary:appContext intoDictionary:context];
[transaction setContext:context];
Expand Down
Loading
Loading