Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## Unreleased

### Dependencies

- Bump Cocoa SDK from v8.30.1 to v8.31.1 ([#2174](https://github.com/getsentry/sentry-dart/pull/2174))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8311)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.30.1...8.31.1)

## 8.4.0

### Features
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 @@ -16,7 +16,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.30.1'
s.dependency 'Sentry/HybridSDK', '8.31.1'
s.ios.dependency 'Flutter'
s.osx.dependency 'FlutterMacOS'
s.ios.deployment_target = '12.0'
Expand Down
8 changes: 5 additions & 3 deletions flutter/scripts/generate-cocoa-bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ subdir="Sentry.xcframework/macos-arm64_x86_64/Sentry.framework"
unzip -q $temp/Sentry.xcframework.zip "$subdir/*" -d $temp
mv "$temp/$subdir" $temp/Sentry.framework

binding="lib/src/native/cocoa/binding.dart"
dart run ffigen --config ffi-cocoa.yaml
sed -i.bak 's|final class|class|g' lib/src/native/cocoa/binding.dart
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
rm lib/src/native/cocoa/binding.dart.bak
sed -i.bak 's|final class|class|g' $binding
sed -i.bak 's|static int startProfilerForTrace_(SentryCocoa _lib, SentryId? traceId)|static int startProfilerForTrace_(SentryCocoa _lib, SentryId1? traceId)|g' $binding
rm $binding.bak
dart format $binding