Skip to content

Commit d4d0807

Browse files
github-actions[bot]web-flowvaind
authored
chore(deps): update Cocoa SDK to v8.31.1 (#2174)
* chore: update flutter/scripts/update-cocoa.sh to 8.31.1 * format generated binding --------- Co-authored-by: GitHub <[email protected]> Co-authored-by: Ivan Dlugos <[email protected]>
1 parent 3db7048 commit d4d0807

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Dependencies
6+
7+
- Bump Cocoa SDK from v8.30.1 to v8.31.1 ([#2174](https://github.com/getsentry/sentry-dart/pull/2174))
8+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8311)
9+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.1...8.31.1)
10+
311
## 8.4.0
412

513
### Features

flutter/ios/sentry_flutter.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa.
1616
:tag => s.version.to_s }
1717
s.source_files = 'Classes/**/*'
1818
s.public_header_files = 'Classes/**/*.h'
19-
s.dependency 'Sentry/HybridSDK', '8.30.1'
19+
s.dependency 'Sentry/HybridSDK', '8.31.1'
2020
s.ios.dependency 'Flutter'
2121
s.osx.dependency 'FlutterMacOS'
2222
s.ios.deployment_target = '12.0'

flutter/scripts/generate-cocoa-bindings.sh

+5-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ subdir="Sentry.xcframework/macos-arm64_x86_64/Sentry.framework"
3333
unzip -q $temp/Sentry.xcframework.zip "$subdir/*" -d $temp
3434
mv "$temp/$subdir" $temp/Sentry.framework
3535

36+
binding="lib/src/native/cocoa/binding.dart"
3637
dart run ffigen --config ffi-cocoa.yaml
37-
sed -i.bak 's|final class|class|g' lib/src/native/cocoa/binding.dart
38-
sed -i.bak 's|static int startProfilerForTrace_(SentryCocoa _lib, SentryId? traceId)|static int startProfilerForTrace_(SentryCocoa _lib, SentryId1? traceId)|g' lib/src/native/cocoa/binding.dart
39-
rm lib/src/native/cocoa/binding.dart.bak
38+
sed -i.bak 's|final class|class|g' $binding
39+
sed -i.bak 's|static int startProfilerForTrace_(SentryCocoa _lib, SentryId? traceId)|static int startProfilerForTrace_(SentryCocoa _lib, SentryId1? traceId)|g' $binding
40+
rm $binding.bak
41+
dart format $binding

0 commit comments

Comments
 (0)