diff --git a/CHANGELOG.md b/CHANGELOG.md index 31b931c990..9c3e79e483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ ### Dependencies - Enable compatibility with uuid v4 ([#1647](https://github.com/getsentry/sentry-dart/pull/1647)) +- Bump Cocoa SDK from v8.11.0 to v8.12.0 ([#1650](https://github.com/getsentry/sentry-dart/pull/1650)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8120) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.11.0...8.12.0) ## 7.10.1 diff --git a/flutter/ios/sentry_flutter.podspec b/flutter/ios/sentry_flutter.podspec index 4ba99f91c8..498acb7b7b 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.11.0' + s.dependency 'Sentry/HybridSDK', '8.12.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 3ca61810e9..e4ca5c9d03 100644 --- a/flutter/lib/src/native/cocoa/binding.dart +++ b/flutter/lib/src/native/cocoa/binding.dart @@ -3621,7 +3621,7 @@ class SentryCocoa { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicateFormat, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ) { return __objc_msgSend_135( obj, @@ -3637,13 +3637,13 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); + ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer<__va_list_tag>)>(); late final _sel_predicateFromMetadataQueryString_1 = _registerName1("predicateFromMetadataQueryString:"); @@ -9531,7 +9531,7 @@ class SentryCocoa { ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer format, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ) { return __objc_msgSend_348( obj, @@ -9543,11 +9543,14 @@ class SentryCocoa { late final __objc_msgSend_348Ptr = _lookup< ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, ffi.Pointer<__va_list_tag>)>(); late final _sel_initWithFormat_locale_1 = _registerName1("initWithFormat:locale:"); @@ -9558,7 +9561,7 @@ class SentryCocoa { ffi.Pointer sel, ffi.Pointer format, ffi.Pointer locale, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ) { return __objc_msgSend_349( obj, @@ -9576,14 +9579,14 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); + ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer<__va_list_tag>)>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = _registerName1("initWithValidatedFormat:validFormatSpecifiers:error:"); @@ -9666,7 +9669,7 @@ class SentryCocoa { ffi.Pointer sel, ffi.Pointer format, ffi.Pointer validFormatSpecifiers, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error, ) { return __objc_msgSend_352( @@ -9686,7 +9689,7 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer, + ffi.Pointer<__va_list_tag>, ffi.Pointer>)>>('objc_msgSend'); late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< instancetype Function( @@ -9694,7 +9697,7 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer, + ffi.Pointer<__va_list_tag>, ffi.Pointer>)>(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = @@ -9706,7 +9709,7 @@ class SentryCocoa { ffi.Pointer format, ffi.Pointer validFormatSpecifiers, ffi.Pointer locale, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error, ) { return __objc_msgSend_353( @@ -9728,7 +9731,7 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer, + ffi.Pointer<__va_list_tag>, ffi.Pointer>)>>('objc_msgSend'); late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< instancetype Function( @@ -9737,7 +9740,7 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer, + ffi.Pointer<__va_list_tag>, ffi.Pointer>)>(); late final _sel_initWithData_encoding_1 = @@ -19011,7 +19014,7 @@ class SentryCocoa { ffi.Pointer format, int options, ffi.Pointer locale, - ffi.Pointer arguments, + ffi.Pointer<__va_list_tag> arguments, ) { return __objc_msgSend_673( obj, @@ -19031,7 +19034,7 @@ class SentryCocoa { ffi.Pointer, ffi.Int32, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); + ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< instancetype Function( ffi.Pointer, @@ -19039,7 +19042,7 @@ class SentryCocoa { ffi.Pointer, int, ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer<__va_list_tag>)>(); late final _sel_localizedAttributedStringWithFormat_1 = _registerName1("localizedAttributedStringWithFormat:"); @@ -21713,7 +21716,7 @@ class SentryCocoa { ffi.Pointer sel, ffi.Pointer name, ffi.Pointer format, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ) { return __objc_msgSend_760( obj, @@ -21731,14 +21734,14 @@ class SentryCocoa { ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); + ffi.Pointer<__va_list_tag>)>>('objc_msgSend'); late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer<__va_list_tag>)>(); late final _class_NSFileHandle1 = _getClass1("NSFileHandle"); late final _sel_availableData1 = _registerName1("availableData"); @@ -32816,7 +32819,7 @@ class NSString extends NSObject { } NSString initWithFormat_arguments_( - NSString? format, ffi.Pointer argList) { + NSString? format, ffi.Pointer<__va_list_tag> argList) { final _ret = _lib._objc_msgSend_348( _id, _lib._sel_initWithFormat_arguments_1, @@ -32832,7 +32835,7 @@ class NSString extends NSObject { } NSString initWithFormat_locale_arguments_( - NSString? format, NSObject locale, ffi.Pointer argList) { + NSString? format, NSObject locale, ffi.Pointer<__va_list_tag> argList) { final _ret = _lib._objc_msgSend_349( _id, _lib._sel_initWithFormat_locale_arguments_1, @@ -32873,7 +32876,7 @@ class NSString extends NSObject { NSString initWithValidatedFormat_validFormatSpecifiers_arguments_error_( NSString? format, NSString? validFormatSpecifiers, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error) { final _ret = _lib._objc_msgSend_352( _id, @@ -32890,7 +32893,7 @@ class NSString extends NSObject { NSString? format, NSString? validFormatSpecifiers, NSObject locale, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error) { final _ret = _lib._objc_msgSend_353( _id, @@ -37990,7 +37993,7 @@ class NSPredicate extends NSObject { } static NSPredicate predicateWithFormat_arguments_(SentryCocoa _lib, - NSString? predicateFormat, ffi.Pointer argList) { + NSString? predicateFormat, ffi.Pointer<__va_list_tag> argList) { final _ret = _lib._objc_msgSend_135( _lib._class_NSPredicate1, _lib._sel_predicateWithFormat_arguments_1, @@ -38146,6 +38149,18 @@ class NSPredicate extends NSObject { } } +class __va_list_tag extends ffi.Struct { + @ffi.UnsignedInt() + external int gp_offset; + + @ffi.UnsignedInt() + external int fp_offset; + + external ffi.Pointer overflow_arg_area; + + external ffi.Pointer reg_save_area; +} + bool _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline( ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, @@ -51417,7 +51432,7 @@ class NSMutableString extends NSString { @override NSMutableString initWithFormat_arguments_( - NSString? format, ffi.Pointer argList) { + NSString? format, ffi.Pointer<__va_list_tag> argList) { final _ret = _lib._objc_msgSend_348( _id, _lib._sel_initWithFormat_arguments_1, @@ -51435,7 +51450,7 @@ class NSMutableString extends NSString { @override NSMutableString initWithFormat_locale_arguments_( - NSString? format, NSObject locale, ffi.Pointer argList) { + NSString? format, NSObject locale, ffi.Pointer<__va_list_tag> argList) { final _ret = _lib._objc_msgSend_349( _id, _lib._sel_initWithFormat_locale_arguments_1, @@ -51480,7 +51495,7 @@ class NSMutableString extends NSString { initWithValidatedFormat_validFormatSpecifiers_arguments_error_( NSString? format, NSString? validFormatSpecifiers, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error) { final _ret = _lib._objc_msgSend_352( _id, @@ -51498,7 +51513,7 @@ class NSMutableString extends NSString { NSString? format, NSString? validFormatSpecifiers, NSObject locale, - ffi.Pointer argList, + ffi.Pointer<__va_list_tag> argList, ffi.Pointer> error) { final _ret = _lib._objc_msgSend_353( _id, @@ -52808,7 +52823,7 @@ class NSAttributedString extends NSObject { NSAttributedString? format, int options, NSLocale? locale, - ffi.Pointer arguments) { + ffi.Pointer<__va_list_tag> arguments) { final _ret = _lib._objc_msgSend_673( _id, _lib._sel_initWithFormat_options_locale_arguments_1, @@ -53539,7 +53554,7 @@ class NSMutableAttributedString extends NSAttributedString { NSAttributedString? format, int options, NSLocale? locale, - ffi.Pointer arguments) { + ffi.Pointer<__va_list_tag> arguments) { final _ret = _lib._objc_msgSend_673( _id, _lib._sel_initWithFormat_options_locale_arguments_1, @@ -57041,7 +57056,7 @@ class NSException extends NSObject { } static void raise_format_arguments_(SentryCocoa _lib, NSString name, - NSString? format, ffi.Pointer argList) { + NSString? format, ffi.Pointer<__va_list_tag> argList) { _lib._objc_msgSend_760( _lib._class_NSException1, _lib._sel_raise_format_arguments_1,