Skip to content

Commit

Permalink
chore(deps): update Cocoa SDK to v8.12.0 (#1650)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
github-actions[bot] and web-flow authored Sep 19, 2023
1 parent da14c18 commit cd16818
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 35 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion flutter/ios/sentry_flutter.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
83 changes: 49 additions & 34 deletions flutter/lib/src/native/cocoa/binding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3621,7 +3621,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> predicateFormat,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_135(
obj,
Expand All @@ -3637,13 +3637,13 @@ class SentryCocoa {
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>>('objc_msgSend');
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction<
ffi.Pointer<ObjCObject> Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>();
ffi.Pointer<__va_list_tag>)>();

late final _sel_predicateFromMetadataQueryString_1 =
_registerName1("predicateFromMetadataQueryString:");
Expand Down Expand Up @@ -9531,7 +9531,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject> obj,
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_348(
obj,
Expand All @@ -9543,11 +9543,14 @@ class SentryCocoa {

late final __objc_msgSend_348Ptr = _lookup<
ffi.NativeFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Char>)>>('objc_msgSend');
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction<
instancetype Function(ffi.Pointer<ObjCObject>, ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>, ffi.Pointer<ffi.Char>)>();
ffi.Pointer<ObjCObject>, ffi.Pointer<__va_list_tag>)>();

late final _sel_initWithFormat_locale_1 =
_registerName1("initWithFormat:locale:");
Expand All @@ -9558,7 +9561,7 @@ class SentryCocoa {
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ObjCObject> locale,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_349(
obj,
Expand All @@ -9576,14 +9579,14 @@ class SentryCocoa {
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>>('objc_msgSend');
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>();
ffi.Pointer<__va_list_tag>)>();

late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 =
_registerName1("initWithValidatedFormat:validFormatSpecifiers:error:");
Expand Down Expand Up @@ -9666,7 +9669,7 @@ class SentryCocoa {
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ObjCObject> validFormatSpecifiers,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_352(
Expand All @@ -9686,15 +9689,15 @@ class SentryCocoa {
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<__va_list_tag>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<__va_list_tag>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();

late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 =
Expand All @@ -9706,7 +9709,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ObjCObject> validFormatSpecifiers,
ffi.Pointer<ObjCObject> locale,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error,
) {
return __objc_msgSend_353(
Expand All @@ -9728,7 +9731,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<__va_list_tag>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>>('objc_msgSend');
late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction<
instancetype Function(
Expand All @@ -9737,7 +9740,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>,
ffi.Pointer<__va_list_tag>,
ffi.Pointer<ffi.Pointer<ObjCObject>>)>();

late final _sel_initWithData_encoding_1 =
Expand Down Expand Up @@ -19011,7 +19014,7 @@ class SentryCocoa {
ffi.Pointer<ObjCObject> format,
int options,
ffi.Pointer<ObjCObject> locale,
ffi.Pointer<ffi.Char> arguments,
ffi.Pointer<__va_list_tag> arguments,
) {
return __objc_msgSend_673(
obj,
Expand All @@ -19031,15 +19034,15 @@ class SentryCocoa {
ffi.Pointer<ObjCObject>,
ffi.Int32,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>>('objc_msgSend');
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction<
instancetype Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
int,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>();
ffi.Pointer<__va_list_tag>)>();

late final _sel_localizedAttributedStringWithFormat_1 =
_registerName1("localizedAttributedStringWithFormat:");
Expand Down Expand Up @@ -21713,7 +21716,7 @@ class SentryCocoa {
ffi.Pointer<ObjCSel> sel,
ffi.Pointer<ObjCObject> name,
ffi.Pointer<ObjCObject> format,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
) {
return __objc_msgSend_760(
obj,
Expand All @@ -21731,14 +21734,14 @@ class SentryCocoa {
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>>('objc_msgSend');
ffi.Pointer<__va_list_tag>)>>('objc_msgSend');
late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction<
void Function(
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCSel>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ObjCObject>,
ffi.Pointer<ffi.Char>)>();
ffi.Pointer<__va_list_tag>)>();

late final _class_NSFileHandle1 = _getClass1("NSFileHandle");
late final _sel_availableData1 = _registerName1("availableData");
Expand Down Expand Up @@ -32816,7 +32819,7 @@ class NSString extends NSObject {
}

NSString initWithFormat_arguments_(
NSString? format, ffi.Pointer<ffi.Char> argList) {
NSString? format, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_348(
_id,
_lib._sel_initWithFormat_arguments_1,
Expand All @@ -32832,7 +32835,7 @@ class NSString extends NSObject {
}

NSString initWithFormat_locale_arguments_(
NSString? format, NSObject locale, ffi.Pointer<ffi.Char> argList) {
NSString? format, NSObject locale, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_349(
_id,
_lib._sel_initWithFormat_locale_arguments_1,
Expand Down Expand Up @@ -32873,7 +32876,7 @@ class NSString extends NSObject {
NSString initWithValidatedFormat_validFormatSpecifiers_arguments_error_(
NSString? format,
NSString? validFormatSpecifiers,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_352(
_id,
Expand All @@ -32890,7 +32893,7 @@ class NSString extends NSObject {
NSString? format,
NSString? validFormatSpecifiers,
NSObject locale,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_353(
_id,
Expand Down Expand Up @@ -37990,7 +37993,7 @@ class NSPredicate extends NSObject {
}

static NSPredicate predicateWithFormat_arguments_(SentryCocoa _lib,
NSString? predicateFormat, ffi.Pointer<ffi.Char> argList) {
NSString? predicateFormat, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_135(
_lib._class_NSPredicate1,
_lib._sel_predicateWithFormat_arguments_1,
Expand Down Expand Up @@ -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<ffi.Void> overflow_arg_area;

external ffi.Pointer<ffi.Void> reg_save_area;
}

bool _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline(
ffi.Pointer<_ObjCBlock> block,
ffi.Pointer<ObjCObject> arg0,
Expand Down Expand Up @@ -51417,7 +51432,7 @@ class NSMutableString extends NSString {

@override
NSMutableString initWithFormat_arguments_(
NSString? format, ffi.Pointer<ffi.Char> argList) {
NSString? format, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_348(
_id,
_lib._sel_initWithFormat_arguments_1,
Expand All @@ -51435,7 +51450,7 @@ class NSMutableString extends NSString {

@override
NSMutableString initWithFormat_locale_arguments_(
NSString? format, NSObject locale, ffi.Pointer<ffi.Char> argList) {
NSString? format, NSObject locale, ffi.Pointer<__va_list_tag> argList) {
final _ret = _lib._objc_msgSend_349(
_id,
_lib._sel_initWithFormat_locale_arguments_1,
Expand Down Expand Up @@ -51480,7 +51495,7 @@ class NSMutableString extends NSString {
initWithValidatedFormat_validFormatSpecifiers_arguments_error_(
NSString? format,
NSString? validFormatSpecifiers,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_352(
_id,
Expand All @@ -51498,7 +51513,7 @@ class NSMutableString extends NSString {
NSString? format,
NSString? validFormatSpecifiers,
NSObject locale,
ffi.Pointer<ffi.Char> argList,
ffi.Pointer<__va_list_tag> argList,
ffi.Pointer<ffi.Pointer<ObjCObject>> error) {
final _ret = _lib._objc_msgSend_353(
_id,
Expand Down Expand Up @@ -52808,7 +52823,7 @@ class NSAttributedString extends NSObject {
NSAttributedString? format,
int options,
NSLocale? locale,
ffi.Pointer<ffi.Char> arguments) {
ffi.Pointer<__va_list_tag> arguments) {
final _ret = _lib._objc_msgSend_673(
_id,
_lib._sel_initWithFormat_options_locale_arguments_1,
Expand Down Expand Up @@ -53539,7 +53554,7 @@ class NSMutableAttributedString extends NSAttributedString {
NSAttributedString? format,
int options,
NSLocale? locale,
ffi.Pointer<ffi.Char> arguments) {
ffi.Pointer<__va_list_tag> arguments) {
final _ret = _lib._objc_msgSend_673(
_id,
_lib._sel_initWithFormat_options_locale_arguments_1,
Expand Down Expand Up @@ -57041,7 +57056,7 @@ class NSException extends NSObject {
}

static void raise_format_arguments_(SentryCocoa _lib, NSString name,
NSString? format, ffi.Pointer<ffi.Char> argList) {
NSString? format, ffi.Pointer<__va_list_tag> argList) {
_lib._objc_msgSend_760(
_lib._class_NSException1,
_lib._sel_raise_format_arguments_1,
Expand Down

0 comments on commit cd16818

Please sign in to comment.