diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ae99401e7..b20cd8430a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ - Bump Android SDK from v6.32.0 to v6.33.1 ([#1710](https://github.com/getsentry/sentry-dart/pull/1710), [#1713](https://github.com/getsentry/sentry-dart/pull/1713)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6331) - [diff](https://github.com/getsentry/sentry-java/compare/6.32.0...6.33.1) +- Bump Cocoa SDK from v8.14.2 to v8.15.0 ([#1712](https://github.com/getsentry/sentry-dart/pull/1712)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8150) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.14.2...8.15.0) ## 7.12.0 diff --git a/flutter/ios/sentry_flutter.podspec b/flutter/ios/sentry_flutter.podspec index b6df0830f7..f32d6a8c34 100644 --- a/flutter/ios/sentry_flutter.podspec +++ b/flutter/ios/sentry_flutter.podspec @@ -12,7 +12,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa. :tag => s.version.to_s } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' - s.dependency 'Sentry/HybridSDK', '8.14.2' + s.dependency 'Sentry/HybridSDK', '8.15.0' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' s.ios.deployment_target = '11.0' diff --git a/flutter/lib/src/native/cocoa/binding.dart b/flutter/lib/src/native/cocoa/binding.dart index e4ca5c9d03..0bd2e0437e 100644 --- a/flutter/lib/src/native/cocoa/binding.dart +++ b/flutter/lib/src/native/cocoa/binding.dart @@ -29648,78 +29648,15 @@ class SentryCocoa { late final _class_SentryEnvelopeItemHeader1 = _getClass1("SentryEnvelopeItemHeader"); - late final _sel_initWithType_length_1 = - _registerName1("initWithType:length:"); - instancetype _objc_msgSend_1043( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - int length, - ) { - return __objc_msgSend_1043( - obj, - sel, - type, - length, - ); - } - - late final __objc_msgSend_1043Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithType_length_filenname_contentType_1 = - _registerName1("initWithType:length:filenname:contentType:"); - instancetype _objc_msgSend_1044( - ffi.Pointer obj, - ffi.Pointer sel, - ffi.Pointer type, - int length, - ffi.Pointer filename, - ffi.Pointer contentType, - ) { - return __objc_msgSend_1044( - obj, - sel, - type, - length, - filename, - contentType, - ); - } - - late final __objc_msgSend_1044Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_contentType1 = _registerName1("contentType"); late final _sel_initWithHeader_data_1 = _registerName1("initWithHeader:data:"); - instancetype _objc_msgSend_1045( + instancetype _objc_msgSend_1043( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer header, ffi.Pointer data, ) { - return __objc_msgSend_1045( + return __objc_msgSend_1043( obj, sel, header, @@ -29727,45 +29664,45 @@ class SentryCocoa { ); } - late final __objc_msgSend_1045Ptr = _lookup< + late final __objc_msgSend_1043Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< + late final __objc_msgSend_1043 = __objc_msgSend_1043Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_header1 = _registerName1("header"); - ffi.Pointer _objc_msgSend_1046( + ffi.Pointer _objc_msgSend_1044( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1046( + return __objc_msgSend_1044( obj, sel, ); } - late final __objc_msgSend_1046Ptr = _lookup< + late final __objc_msgSend_1044Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< + late final __objc_msgSend_1044 = __objc_msgSend_1044Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); late final _sel_initWithId_singleItem_1 = _registerName1("initWithId:singleItem:"); - instancetype _objc_msgSend_1047( + instancetype _objc_msgSend_1045( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer id, ffi.Pointer item, ) { - return __objc_msgSend_1047( + return __objc_msgSend_1045( obj, sel, id, @@ -29773,49 +29710,49 @@ class SentryCocoa { ); } - late final __objc_msgSend_1047Ptr = _lookup< + late final __objc_msgSend_1045Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< + late final __objc_msgSend_1045 = __objc_msgSend_1045Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _class_SentryEnvelopeHeader1 = _getClass1("SentryEnvelopeHeader"); late final _sel_initWithId_1 = _registerName1("initWithId:"); - instancetype _objc_msgSend_1048( + instancetype _objc_msgSend_1046( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer eventId, ) { - return __objc_msgSend_1048( + return __objc_msgSend_1046( obj, sel, eventId, ); } - late final __objc_msgSend_1048Ptr = _lookup< + late final __objc_msgSend_1046Ptr = _lookup< ffi.NativeFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< + late final __objc_msgSend_1046 = __objc_msgSend_1046Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _class_SentryTraceContext1 = _getClass1("SentryTraceContext"); late final _sel_initWithId_traceContext_1 = _registerName1("initWithId:traceContext:"); - instancetype _objc_msgSend_1049( + instancetype _objc_msgSend_1047( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer eventId, ffi.Pointer traceContext, ) { - return __objc_msgSend_1049( + return __objc_msgSend_1047( obj, sel, eventId, @@ -29823,28 +29760,28 @@ class SentryCocoa { ); } - late final __objc_msgSend_1049Ptr = _lookup< + late final __objc_msgSend_1047Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< + late final __objc_msgSend_1047 = __objc_msgSend_1047Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _class_SentrySdkInfo1 = _getClass1("SentrySdkInfo"); late final _sel_initWithId_sdkInfo_traceContext_1 = _registerName1("initWithId:sdkInfo:traceContext:"); - instancetype _objc_msgSend_1050( + instancetype _objc_msgSend_1048( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer eventId, ffi.Pointer sdkInfo, ffi.Pointer traceContext, ) { - return __objc_msgSend_1050( + return __objc_msgSend_1048( obj, sel, eventId, @@ -29853,7 +29790,7 @@ class SentryCocoa { ); } - late final __objc_msgSend_1050Ptr = _lookup< + late final __objc_msgSend_1048Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, @@ -29861,7 +29798,7 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< + late final __objc_msgSend_1048 = __objc_msgSend_1048Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, @@ -29871,40 +29808,40 @@ class SentryCocoa { late final _sel_eventId1 = _registerName1("eventId"); late final _sel_sdkInfo1 = _registerName1("sdkInfo"); - ffi.Pointer _objc_msgSend_1051( + ffi.Pointer _objc_msgSend_1049( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1051( + return __objc_msgSend_1049( obj, sel, ); } - late final __objc_msgSend_1051Ptr = _lookup< + late final __objc_msgSend_1049Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< + late final __objc_msgSend_1049 = __objc_msgSend_1049Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); late final _sel_traceContext1 = _registerName1("traceContext"); - ffi.Pointer _objc_msgSend_1052( + ffi.Pointer _objc_msgSend_1050( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1052( + return __objc_msgSend_1050( obj, sel, ); } - late final __objc_msgSend_1052Ptr = _lookup< + late final __objc_msgSend_1050Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< + late final __objc_msgSend_1050 = __objc_msgSend_1050Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -29912,13 +29849,13 @@ class SentryCocoa { late final _sel_setSentAt_1 = _registerName1("setSentAt:"); late final _sel_initWithHeader_singleItem_1 = _registerName1("initWithHeader:singleItem:"); - instancetype _objc_msgSend_1053( + instancetype _objc_msgSend_1051( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer header, ffi.Pointer item, ) { - return __objc_msgSend_1053( + return __objc_msgSend_1051( obj, sel, header, @@ -29926,25 +29863,25 @@ class SentryCocoa { ); } - late final __objc_msgSend_1053Ptr = _lookup< + late final __objc_msgSend_1051Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< + late final __objc_msgSend_1051 = __objc_msgSend_1051Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_initWithId_items_1 = _registerName1("initWithId:items:"); - instancetype _objc_msgSend_1054( + instancetype _objc_msgSend_1052( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer id, ffi.Pointer items, ) { - return __objc_msgSend_1054( + return __objc_msgSend_1052( obj, sel, id, @@ -29952,27 +29889,27 @@ class SentryCocoa { ); } - late final __objc_msgSend_1054Ptr = _lookup< + late final __objc_msgSend_1052Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< + late final __objc_msgSend_1052 = __objc_msgSend_1052Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_initWithSessions_1 = _registerName1("initWithSessions:"); late final _sel_initWithHeader_items_1 = _registerName1("initWithHeader:items:"); - instancetype _objc_msgSend_1055( + instancetype _objc_msgSend_1053( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer header, ffi.Pointer items, ) { - return __objc_msgSend_1055( + return __objc_msgSend_1053( obj, sel, header, @@ -29980,99 +29917,99 @@ class SentryCocoa { ); } - late final __objc_msgSend_1055Ptr = _lookup< + late final __objc_msgSend_1053Ptr = _lookup< ffi.NativeFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< + late final __objc_msgSend_1053 = __objc_msgSend_1053Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); - ffi.Pointer _objc_msgSend_1056( + ffi.Pointer _objc_msgSend_1054( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1056( + return __objc_msgSend_1054( obj, sel, ); } - late final __objc_msgSend_1056Ptr = _lookup< + late final __objc_msgSend_1054Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< + late final __objc_msgSend_1054 = __objc_msgSend_1054Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); late final _sel_items1 = _registerName1("items"); late final _sel_storeEnvelope_1 = _registerName1("storeEnvelope:"); - void _objc_msgSend_1057( + void _objc_msgSend_1055( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer envelope, ) { - return __objc_msgSend_1057( + return __objc_msgSend_1055( obj, sel, envelope, ); } - late final __objc_msgSend_1057Ptr = _lookup< + late final __objc_msgSend_1055Ptr = _lookup< ffi.NativeFunction< ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< + late final __objc_msgSend_1055 = __objc_msgSend_1055Ptr.asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_captureEnvelope_1 = _registerName1("captureEnvelope:"); late final _sel_envelopeWithData_1 = _registerName1("envelopeWithData:"); - ffi.Pointer _objc_msgSend_1058( + ffi.Pointer _objc_msgSend_1056( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_1058( + return __objc_msgSend_1056( obj, sel, data, ); } - late final __objc_msgSend_1058Ptr = _lookup< + late final __objc_msgSend_1056Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< + late final __objc_msgSend_1056 = __objc_msgSend_1056Ptr.asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_getDebugImages1 = _registerName1("getDebugImages"); late final _sel_getDebugImagesCrashed_1 = _registerName1("getDebugImagesCrashed:"); - ffi.Pointer _objc_msgSend_1059( + ffi.Pointer _objc_msgSend_1057( ffi.Pointer obj, ffi.Pointer sel, bool isCrash, ) { - return __objc_msgSend_1059( + return __objc_msgSend_1057( obj, sel, isCrash, ); } - late final __objc_msgSend_1059Ptr = _lookup< + late final __objc_msgSend_1057Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< + late final __objc_msgSend_1057 = __objc_msgSend_1057Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, bool)>(); @@ -30084,36 +30021,36 @@ class SentryCocoa { late final _sel_getExtraContext1 = _registerName1("getExtraContext"); late final _sel_startProfilerForTrace_1 = _registerName1("startProfilerForTrace:"); - int _objc_msgSend_1060( + int _objc_msgSend_1058( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer traceId, ) { - return __objc_msgSend_1060( + return __objc_msgSend_1058( obj, sel, traceId, ); } - late final __objc_msgSend_1060Ptr = _lookup< + late final __objc_msgSend_1058Ptr = _lookup< ffi.NativeFunction< ffi.Uint64 Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< + late final __objc_msgSend_1058 = __objc_msgSend_1058Ptr.asFunction< int Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _sel_collectProfileBetween_and_forTrace_1 = _registerName1("collectProfileBetween:and:forTrace:"); - ffi.Pointer _objc_msgSend_1061( + ffi.Pointer _objc_msgSend_1059( ffi.Pointer obj, ffi.Pointer sel, int startSystemTime, int endSystemTime, ffi.Pointer traceId, ) { - return __objc_msgSend_1061( + return __objc_msgSend_1059( obj, sel, startSystemTime, @@ -30122,7 +30059,7 @@ class SentryCocoa { ); } - late final __objc_msgSend_1061Ptr = _lookup< + late final __objc_msgSend_1059Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, @@ -30130,29 +30067,29 @@ class SentryCocoa { ffi.Uint64, ffi.Uint64, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< + late final __objc_msgSend_1059 = __objc_msgSend_1059Ptr.asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, int, int, ffi.Pointer)>(); late final _sel_discardProfilerForTrace_1 = _registerName1("discardProfilerForTrace:"); - void _objc_msgSend_1062( + void _objc_msgSend_1060( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer traceId, ) { - return __objc_msgSend_1062( + return __objc_msgSend_1060( obj, sel, traceId, ); } - late final __objc_msgSend_1062Ptr = _lookup< + late final __objc_msgSend_1060Ptr = _lookup< ffi.NativeFunction< ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< + late final __objc_msgSend_1060 = __objc_msgSend_1060Ptr.asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); @@ -30160,82 +30097,82 @@ class SentryCocoa { _getClass1("SentryAppStartMeasurement"); late final _sel_onAppStartMeasurementAvailable1 = _registerName1("onAppStartMeasurementAvailable"); - ffi.Pointer<_ObjCBlock> _objc_msgSend_1063( + ffi.Pointer<_ObjCBlock> _objc_msgSend_1061( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1063( + return __objc_msgSend_1061( obj, sel, ); } - late final __objc_msgSend_1063Ptr = _lookup< + late final __objc_msgSend_1061Ptr = _lookup< ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< + late final __objc_msgSend_1061 = __objc_msgSend_1061Ptr.asFunction< ffi.Pointer<_ObjCBlock> Function( ffi.Pointer, ffi.Pointer)>(); late final _sel_setOnAppStartMeasurementAvailable_1 = _registerName1("setOnAppStartMeasurementAvailable:"); - void _objc_msgSend_1064( + void _objc_msgSend_1062( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> value, ) { - return __objc_msgSend_1064( + return __objc_msgSend_1062( obj, sel, value, ); } - late final __objc_msgSend_1064Ptr = _lookup< + late final __objc_msgSend_1062Ptr = _lookup< ffi.NativeFunction< ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< + late final __objc_msgSend_1062 = __objc_msgSend_1062Ptr.asFunction< void Function(ffi.Pointer, ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); late final _sel_appStartMeasurement1 = _registerName1("appStartMeasurement"); - ffi.Pointer _objc_msgSend_1065( + ffi.Pointer _objc_msgSend_1063( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1065( + return __objc_msgSend_1063( obj, sel, ); } - late final __objc_msgSend_1065Ptr = _lookup< + late final __objc_msgSend_1063Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< + late final __objc_msgSend_1063 = __objc_msgSend_1063Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); late final _sel_installationID1 = _registerName1("installationID"); late final _class_SentryOptions1 = _getClass1("SentryOptions"); - ffi.Pointer _objc_msgSend_1066( + ffi.Pointer _objc_msgSend_1064( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1066( + return __objc_msgSend_1064( obj, sel, ); } - late final __objc_msgSend_1066Ptr = _lookup< + late final __objc_msgSend_1064Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< + late final __objc_msgSend_1064 = __objc_msgSend_1064Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer)>(); @@ -30245,46 +30182,46 @@ class SentryCocoa { _registerName1("setAppStartMeasurementHybridSDKMode:"); late final _class_SentryUser1 = _getClass1("SentryUser"); late final _sel_userWithDictionary_1 = _registerName1("userWithDictionary:"); - ffi.Pointer _objc_msgSend_1067( + ffi.Pointer _objc_msgSend_1065( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dictionary, ) { - return __objc_msgSend_1067( + return __objc_msgSend_1065( obj, sel, dictionary, ); } - late final __objc_msgSend_1067Ptr = _lookup< + late final __objc_msgSend_1065Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1067 = __objc_msgSend_1067Ptr.asFunction< + late final __objc_msgSend_1065 = __objc_msgSend_1065Ptr.asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); late final _class_SentryBreadcrumb1 = _getClass1("SentryBreadcrumb"); late final _sel_breadcrumbWithDictionary_1 = _registerName1("breadcrumbWithDictionary:"); - ffi.Pointer _objc_msgSend_1068( + ffi.Pointer _objc_msgSend_1066( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dictionary, ) { - return __objc_msgSend_1068( + return __objc_msgSend_1066( obj, sel, dictionary, ); } - late final __objc_msgSend_1068Ptr = _lookup< + late final __objc_msgSend_1066Ptr = _lookup< ffi.NativeFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1068 = __objc_msgSend_1068Ptr.asFunction< + late final __objc_msgSend_1066 = __objc_msgSend_1066Ptr.asFunction< ffi.Pointer Function(ffi.Pointer, ffi.Pointer, ffi.Pointer)>(); } @@ -70477,18 +70414,18 @@ class PrivateSentrySDKOnly extends NSObject { /// For storing an envelope synchronously to disk. static void storeEnvelope_(SentryCocoa _lib, SentryEnvelope? envelope) { - _lib._objc_msgSend_1057(_lib._class_PrivateSentrySDKOnly1, + _lib._objc_msgSend_1055(_lib._class_PrivateSentrySDKOnly1, _lib._sel_storeEnvelope_1, envelope?._id ?? ffi.nullptr); } static void captureEnvelope_(SentryCocoa _lib, SentryEnvelope? envelope) { - _lib._objc_msgSend_1057(_lib._class_PrivateSentrySDKOnly1, + _lib._objc_msgSend_1055(_lib._class_PrivateSentrySDKOnly1, _lib._sel_captureEnvelope_1, envelope?._id ?? ffi.nullptr); } /// Create an envelope from @c NSData. Needed for example by Flutter. static SentryEnvelope envelopeWithData_(SentryCocoa _lib, NSData? data) { - final _ret = _lib._objc_msgSend_1058(_lib._class_PrivateSentrySDKOnly1, + final _ret = _lib._objc_msgSend_1056(_lib._class_PrivateSentrySDKOnly1, _lib._sel_envelopeWithData_1, data?._id ?? ffi.nullptr); return SentryEnvelope._(_ret, _lib, retain: true, release: true); } @@ -70510,7 +70447,7 @@ class PrivateSentrySDKOnly extends NSObject { /// gathering them for other backtrace information, like a performance transaction. If this is for a /// crash, each image's data section crash info is also included. static NSArray getDebugImagesCrashed_(SentryCocoa _lib, bool isCrash) { - final _ret = _lib._objc_msgSend_1059(_lib._class_PrivateSentrySDKOnly1, + final _ret = _lib._objc_msgSend_1057(_lib._class_PrivateSentrySDKOnly1, _lib._sel_getDebugImagesCrashed_1, isCrash); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -70555,7 +70492,7 @@ class PrivateSentrySDKOnly extends NSObject { /// Start a profiler session associated with the given @c SentryId. /// @return The system time when the profiler session started. static int startProfilerForTrace_(SentryCocoa _lib, SentryId? traceId) { - return _lib._objc_msgSend_1060(_lib._class_PrivateSentrySDKOnly1, + return _lib._objc_msgSend_1058(_lib._class_PrivateSentrySDKOnly1, _lib._sel_startProfilerForTrace_1, traceId?._id ?? ffi.nullptr); } @@ -70563,7 +70500,7 @@ class PrivateSentrySDKOnly extends NSObject { /// This also discards the profiler. static NSDictionary collectProfileBetween_and_forTrace_(SentryCocoa _lib, int startSystemTime, int endSystemTime, SentryId? traceId) { - final _ret = _lib._objc_msgSend_1061( + final _ret = _lib._objc_msgSend_1059( _lib._class_PrivateSentrySDKOnly1, _lib._sel_collectProfileBetween_and_forTrace_1, startSystemTime, @@ -70575,25 +70512,25 @@ class PrivateSentrySDKOnly extends NSObject { /// Discard profiler session data associated with the given @c SentryId. /// This only needs to be called in case you haven't collected the profile (and don't intend to). static void discardProfilerForTrace_(SentryCocoa _lib, SentryId? traceId) { - _lib._objc_msgSend_1062(_lib._class_PrivateSentrySDKOnly1, + _lib._objc_msgSend_1060(_lib._class_PrivateSentrySDKOnly1, _lib._sel_discardProfilerForTrace_1, traceId?._id ?? ffi.nullptr); } static ObjCBlock_ffiVoid_SentryAppStartMeasurement getOnAppStartMeasurementAvailable(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_1063(_lib._class_PrivateSentrySDKOnly1, + final _ret = _lib._objc_msgSend_1061(_lib._class_PrivateSentrySDKOnly1, _lib._sel_onAppStartMeasurementAvailable1); return ObjCBlock_ffiVoid_SentryAppStartMeasurement._(_ret, _lib); } static void setOnAppStartMeasurementAvailable( SentryCocoa _lib, ObjCBlock_ffiVoid_SentryAppStartMeasurement value) { - return _lib._objc_msgSend_1064(_lib._class_PrivateSentrySDKOnly1, + return _lib._objc_msgSend_1062(_lib._class_PrivateSentrySDKOnly1, _lib._sel_setOnAppStartMeasurementAvailable_1, value._id); } static SentryAppStartMeasurement? getAppStartMeasurement(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_1065( + final _ret = _lib._objc_msgSend_1063( _lib._class_PrivateSentrySDKOnly1, _lib._sel_appStartMeasurement1); return _ret.address == 0 ? null @@ -70609,7 +70546,7 @@ class PrivateSentrySDKOnly extends NSObject { } static SentryOptions? getOptions(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_1066( + final _ret = _lib._objc_msgSend_1064( _lib._class_PrivateSentrySDKOnly1, _lib._sel_options1); return _ret.address == 0 ? null @@ -70643,14 +70580,14 @@ class PrivateSentrySDKOnly extends NSObject { static SentryUser userWithDictionary_( SentryCocoa _lib, NSDictionary? dictionary) { - final _ret = _lib._objc_msgSend_1067(_lib._class_PrivateSentrySDKOnly1, + final _ret = _lib._objc_msgSend_1065(_lib._class_PrivateSentrySDKOnly1, _lib._sel_userWithDictionary_1, dictionary?._id ?? ffi.nullptr); return SentryUser._(_ret, _lib, retain: true, release: true); } static SentryBreadcrumb breadcrumbWithDictionary_( SentryCocoa _lib, NSDictionary? dictionary) { - final _ret = _lib._objc_msgSend_1068(_lib._class_PrivateSentrySDKOnly1, + final _ret = _lib._objc_msgSend_1066(_lib._class_PrivateSentrySDKOnly1, _lib._sel_breadcrumbWithDictionary_1, dictionary?._id ?? ffi.nullptr); return SentryBreadcrumb._(_ret, _lib, retain: true, release: true); } @@ -70785,14 +70722,14 @@ class SentryEnvelope extends NSObject { SentryEnvelope initWithId_singleItem_( SentryId? id, SentryEnvelopeItem? item) { - final _ret = _lib._objc_msgSend_1047(_id, _lib._sel_initWithId_singleItem_1, + final _ret = _lib._objc_msgSend_1045(_id, _lib._sel_initWithId_singleItem_1, id?._id ?? ffi.nullptr, item?._id ?? ffi.nullptr); return SentryEnvelope._(_ret, _lib, retain: true, release: true); } SentryEnvelope initWithHeader_singleItem_( SentryEnvelopeHeader? header, SentryEnvelopeItem? item) { - final _ret = _lib._objc_msgSend_1053( + final _ret = _lib._objc_msgSend_1051( _id, _lib._sel_initWithHeader_singleItem_1, header?._id ?? ffi.nullptr, @@ -70801,7 +70738,7 @@ class SentryEnvelope extends NSObject { } SentryEnvelope initWithId_items_(SentryId? id, NSArray? items) { - final _ret = _lib._objc_msgSend_1054(_id, _lib._sel_initWithId_items_1, + final _ret = _lib._objc_msgSend_1052(_id, _lib._sel_initWithId_items_1, id?._id ?? ffi.nullptr, items?._id ?? ffi.nullptr); return SentryEnvelope._(_ret, _lib, retain: true, release: true); } @@ -70825,7 +70762,7 @@ class SentryEnvelope extends NSObject { SentryEnvelope initWithHeader_items_( SentryEnvelopeHeader? header, NSArray? items) { - final _ret = _lib._objc_msgSend_1055(_id, _lib._sel_initWithHeader_items_1, + final _ret = _lib._objc_msgSend_1053(_id, _lib._sel_initWithHeader_items_1, header?._id ?? ffi.nullptr, items?._id ?? ffi.nullptr); return SentryEnvelope._(_ret, _lib, retain: true, release: true); } @@ -70845,7 +70782,7 @@ class SentryEnvelope extends NSObject { /// The envelope header. SentryEnvelopeHeader? get header { - final _ret = _lib._objc_msgSend_1056(_id, _lib._sel_header1); + final _ret = _lib._objc_msgSend_1054(_id, _lib._sel_header1); return _ret.address == 0 ? null : SentryEnvelopeHeader._(_ret, _lib, retain: true, release: true); @@ -71300,14 +71237,14 @@ class SentryEnvelopeItem extends NSObject { SentryEnvelopeItem initWithHeader_data_( SentryEnvelopeItemHeader? header, NSData? data) { - final _ret = _lib._objc_msgSend_1045(_id, _lib._sel_initWithHeader_data_1, + final _ret = _lib._objc_msgSend_1043(_id, _lib._sel_initWithHeader_data_1, header?._id ?? ffi.nullptr, data?._id ?? ffi.nullptr); return SentryEnvelopeItem._(_ret, _lib, retain: true, release: true); } /// The envelope item header. SentryEnvelopeItemHeader? get header { - final _ret = _lib._objc_msgSend_1046(_id, _lib._sel_header1); + final _ret = _lib._objc_msgSend_1044(_id, _lib._sel_header1); return _ret.address == 0 ? null : SentryEnvelopeItemHeader._(_ret, _lib, retain: true, release: true); @@ -71500,7 +71437,7 @@ class SentryAttachment extends _ObjCWrapper { } } -class SentryEnvelopeItemHeader extends NSObject { +class SentryEnvelopeItemHeader extends _ObjCWrapper { SentryEnvelopeItemHeader._(ffi.Pointer id, SentryCocoa lib, {bool retain = false, bool release = false}) : super._(id, lib, retain: retain, release: release); @@ -71524,142 +71461,6 @@ class SentryEnvelopeItemHeader extends NSObject { return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_SentryEnvelopeItemHeader1); } - - @override - SentryEnvelopeItemHeader init() { - final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: true, release: true); - } - - static SentryEnvelopeItemHeader new1(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_SentryEnvelopeItemHeader1, _lib._sel_new1); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: false, release: true); - } - - SentryEnvelopeItemHeader initWithType_length_(NSString? type, int length) { - final _ret = _lib._objc_msgSend_1043( - _id, _lib._sel_initWithType_length_1, type?._id ?? ffi.nullptr, length); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: true, release: true); - } - - SentryEnvelopeItemHeader initWithType_length_filenname_contentType_( - NSString? type, int length, NSString? filename, NSString? contentType) { - final _ret = _lib._objc_msgSend_1044( - _id, - _lib._sel_initWithType_length_filenname_contentType_1, - type?._id ?? ffi.nullptr, - length, - filename?._id ?? ffi.nullptr, - contentType?._id ?? ffi.nullptr); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: true, release: true); - } - - /// The type of the envelope item. - NSString? get type { - final _ret = _lib._objc_msgSend_20(_id, _lib._sel_type1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - int get length { - return _lib._objc_msgSend_10(_id, _lib._sel_length1); - } - - NSString? get filename { - final _ret = _lib._objc_msgSend_20(_id, _lib._sel_filename1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - NSString? get contentType { - final _ret = _lib._objc_msgSend_20(_id, _lib._sel_contentType1); - return _ret.address == 0 - ? null - : NSString._(_ret, _lib, retain: true, release: true); - } - - static SentryEnvelopeItemHeader allocWithZone_( - SentryCocoa _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3( - _lib._class_SentryEnvelopeItemHeader1, _lib._sel_allocWithZone_1, zone); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: false, release: true); - } - - static SentryEnvelopeItemHeader alloc(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_2( - _lib._class_SentryEnvelopeItemHeader1, _lib._sel_alloc1); - return SentryEnvelopeItemHeader._(_ret, _lib, retain: false, release: true); - } - - static void cancelPreviousPerformRequestsWithTarget_selector_object_( - SentryCocoa _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject anArgument) { - _lib._objc_msgSend_14( - _lib._class_SentryEnvelopeItemHeader1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument._id); - } - - static void cancelPreviousPerformRequestsWithTarget_( - SentryCocoa _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_SentryEnvelopeItemHeader1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); - } - - static bool getAccessInstanceVariablesDirectly(SentryCocoa _lib) { - return _lib._objc_msgSend_12(_lib._class_SentryEnvelopeItemHeader1, - _lib._sel_accessInstanceVariablesDirectly1); - } - - static bool useStoredAccessor(SentryCocoa _lib) { - return _lib._objc_msgSend_12( - _lib._class_SentryEnvelopeItemHeader1, _lib._sel_useStoredAccessor1); - } - - static NSSet keyPathsForValuesAffectingValueForKey_( - SentryCocoa _lib, NSString? key) { - final _ret = _lib._objc_msgSend_58( - _lib._class_SentryEnvelopeItemHeader1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key?._id ?? ffi.nullptr); - return NSSet._(_ret, _lib, retain: true, release: true); - } - - static bool automaticallyNotifiesObserversForKey_( - SentryCocoa _lib, NSString? key) { - return _lib._objc_msgSend_59( - _lib._class_SentryEnvelopeItemHeader1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key?._id ?? ffi.nullptr); - } - - static void setKeys_triggerChangeNotificationsForDependentKey_( - SentryCocoa _lib, NSArray? keys, NSString? dependentKey) { - _lib._objc_msgSend_82( - _lib._class_SentryEnvelopeItemHeader1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys?._id ?? ffi.nullptr, - dependentKey?._id ?? ffi.nullptr); - } - - static NSArray classFallbacksForKeyedArchiver(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_79(_lib._class_SentryEnvelopeItemHeader1, - _lib._sel_classFallbacksForKeyedArchiver1); - return NSArray._(_ret, _lib, retain: true, release: true); - } - - static NSObject classForKeyedUnarchiver(SentryCocoa _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_SentryEnvelopeItemHeader1, - _lib._sel_classForKeyedUnarchiver1); - return NSObject._(_ret, _lib, retain: true, release: true); - } } class SentryEnvelopeHeader extends NSObject { @@ -71703,7 +71504,7 @@ class SentryEnvelopeHeader extends NSObject { /// @param eventId The identifier of the event. Can be nil if no event in the envelope or attachment /// related to event. SentryEnvelopeHeader initWithId_(SentryId? eventId) { - final _ret = _lib._objc_msgSend_1048( + final _ret = _lib._objc_msgSend_1046( _id, _lib._sel_initWithId_1, eventId?._id ?? ffi.nullptr); return SentryEnvelopeHeader._(_ret, _lib, retain: true, release: true); } @@ -71714,7 +71515,7 @@ class SentryEnvelopeHeader extends NSObject { /// @param traceContext Current trace state. SentryEnvelopeHeader initWithId_traceContext_( SentryId? eventId, SentryTraceContext? traceContext) { - final _ret = _lib._objc_msgSend_1049( + final _ret = _lib._objc_msgSend_1047( _id, _lib._sel_initWithId_traceContext_1, eventId?._id ?? ffi.nullptr, @@ -71732,7 +71533,7 @@ class SentryEnvelopeHeader extends NSObject { /// @param traceContext Current trace state. SentryEnvelopeHeader initWithId_sdkInfo_traceContext_(SentryId? eventId, SentrySdkInfo? sdkInfo, SentryTraceContext? traceContext) { - final _ret = _lib._objc_msgSend_1050( + final _ret = _lib._objc_msgSend_1048( _id, _lib._sel_initWithId_sdkInfo_traceContext_1, eventId?._id ?? ffi.nullptr, @@ -71752,14 +71553,14 @@ class SentryEnvelopeHeader extends NSObject { } SentrySdkInfo? get sdkInfo { - final _ret = _lib._objc_msgSend_1051(_id, _lib._sel_sdkInfo1); + final _ret = _lib._objc_msgSend_1049(_id, _lib._sel_sdkInfo1); return _ret.address == 0 ? null : SentrySdkInfo._(_ret, _lib, retain: true, release: true); } SentryTraceContext? get traceContext { - final _ret = _lib._objc_msgSend_1052(_id, _lib._sel_traceContext1); + final _ret = _lib._objc_msgSend_1050(_id, _lib._sel_traceContext1); return _ret.address == 0 ? null : SentryTraceContext._(_ret, _lib, retain: true, release: true);