Skip to content

Commit 1cdcacf

Browse files
chore: update flutter/scripts/update-cocoa.sh to 8.18.0 (#1803)
Co-authored-by: GitHub <[email protected]>
1 parent f12d09d commit 1cdcacf

File tree

3 files changed

+23
-14
lines changed

3 files changed

+23
-14
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
- Bump Android SDK from v7.0.0 to v7.1.0 ([#1788](https://github.com/getsentry/sentry-dart/pull/1788))
1818
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#710)
1919
- [diff](https://github.com/getsentry/sentry-java/compare/7.0.0...7.1.0)
20+
- Bump Cocoa SDK from v8.17.2 to v8.18.0 ([#1803](https://github.com/getsentry/sentry-dart/pull/1803))
21+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8180)
22+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.17.2...8.18.0)
2023

2124
## 7.14.0
2225

flutter/ios/sentry_flutter.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa.
1212
:tag => s.version.to_s }
1313
s.source_files = 'Classes/**/*'
1414
s.public_header_files = 'Classes/**/*.h'
15-
s.dependency 'Sentry/HybridSDK', '8.17.2'
15+
s.dependency 'Sentry/HybridSDK', '8.18.0'
1616
s.ios.dependency 'Flutter'
1717
s.osx.dependency 'FlutterMacOS'
1818
s.ios.deployment_target = '11.0'

flutter/lib/src/native/cocoa/binding.dart

+19-13
Original file line numberDiff line numberDiff line change
@@ -37603,7 +37603,8 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase {
3760337603
ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer(
3760437604
SentryCocoa lib,
3760537605
ffi.Pointer<
37606-
ffi.NativeFunction<
37606+
ffi
37607+
.NativeFunction<
3760737608
ffi.Bool Function(ffi.Pointer<ObjCObject> arg0,
3760837609
ffi.UnsignedLong arg1, ffi.Pointer<ffi.Bool> arg2)>>
3760937610
ptr)
@@ -42031,15 +42032,17 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase {
4203142032
ffi.Pointer<ffi.Bool> arg1)>>
4203242033
ptr)
4203342034
: this._(
42034-
lib._newBlock1(
42035-
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
42036-
ffi.Bool Function(
42037-
ffi.Pointer<_ObjCBlock> block,
42038-
ffi.Pointer<ObjCObject> arg0,
42039-
ffi.Pointer<ffi.Bool> arg1)>(
42040-
_ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false)
42041-
.cast(),
42042-
ptr.cast()),
42035+
lib
42036+
._newBlock1(
42037+
_cFuncTrampoline ??= ffi.Pointer.fromFunction<
42038+
ffi.Bool Function(
42039+
ffi.Pointer<_ObjCBlock> block,
42040+
ffi.Pointer<ObjCObject> arg0,
42041+
ffi.Pointer<ffi.Bool> arg1)>(
42042+
_ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline,
42043+
false)
42044+
.cast(),
42045+
ptr.cast()),
4204342046
lib);
4204442047
static ffi.Pointer<ffi.Void>? _cFuncTrampoline;
4204542048

@@ -70495,15 +70498,18 @@ class PrivateSentrySDKOnly extends NSObject {
7049570498

7049670499
/// Collect a profiler session data associated with the given @c SentryId.
7049770500
/// This also discards the profiler.
70498-
static NSDictionary collectProfileBetween_and_forTrace_(SentryCocoa _lib,
70499-
int startSystemTime, int endSystemTime, SentryId? traceId) {
70501+
static NSMutableDictionary collectProfileBetween_and_forTrace_(
70502+
SentryCocoa _lib,
70503+
int startSystemTime,
70504+
int endSystemTime,
70505+
SentryId? traceId) {
7050070506
final _ret = _lib._objc_msgSend_1059(
7050170507
_lib._class_PrivateSentrySDKOnly1,
7050270508
_lib._sel_collectProfileBetween_and_forTrace_1,
7050370509
startSystemTime,
7050470510
endSystemTime,
7050570511
traceId?._id ?? ffi.nullptr);
70506-
return NSDictionary._(_ret, _lib, retain: true, release: true);
70512+
return NSMutableDictionary._(_ret, _lib, retain: true, release: true);
7050770513
}
7050870514

7050970515
/// Discard profiler session data associated with the given @c SentryId.

0 commit comments

Comments
 (0)