diff --git a/CHANGELOG.md b/CHANGELOG.md index d878c77b19..3c3a39ad13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,12 @@ - Safely access browser `navigator.deviceMemory` ([#3268](https://github.com/getsentry/sentry-dart/pull/3268)) +### Dependencies + +- Bump Cocoa SDK from v8.55.1 to v8.56.2 ([#3276](https://github.com/getsentry/sentry-dart/pull/3276)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8562) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.55.1...8.56.2) + ## 9.7.0-beta.5 ### Dependencies diff --git a/packages/flutter/ios/sentry_flutter.podspec b/packages/flutter/ios/sentry_flutter.podspec index c9787c732f..ab735e7984 100644 --- a/packages/flutter/ios/sentry_flutter.podspec +++ b/packages/flutter/ios/sentry_flutter.podspec @@ -16,7 +16,7 @@ Sentry SDK for Flutter with support to native through sentry-cocoa. :tag => s.version.to_s } s.source_files = 'sentry_flutter/Sources/**/*' s.public_header_files = 'sentry_flutter/Sources/**/*.h' - s.dependency 'Sentry/HybridSDK', '8.55.1' + s.dependency 'Sentry/HybridSDK', '8.56.2' s.ios.dependency 'Flutter' s.osx.dependency 'FlutterMacOS' s.ios.deployment_target = '12.0' diff --git a/packages/flutter/ios/sentry_flutter/Package.swift b/packages/flutter/ios/sentry_flutter/Package.swift index aee3757a9f..6f9bf24d3c 100644 --- a/packages/flutter/ios/sentry_flutter/Package.swift +++ b/packages/flutter/ios/sentry_flutter/Package.swift @@ -13,7 +13,7 @@ let package = Package( .library(name: "sentry-flutter", targets: ["sentry_flutter", "sentry_flutter_objc"]) ], dependencies: [ - .package(url: "https://github.com/getsentry/sentry-cocoa", exact: "8.55.1") + .package(url: "https://github.com/getsentry/sentry-cocoa", exact: "8.56.2") ], targets: [ .target( diff --git a/packages/flutter/ios/sentry_flutter/Sources/sentry_flutter/SentryFlutterPlugin.swift b/packages/flutter/ios/sentry_flutter/Sources/sentry_flutter/SentryFlutterPlugin.swift index 82dcf07dbf..044e3d4757 100644 --- a/packages/flutter/ios/sentry_flutter/Sources/sentry_flutter/SentryFlutterPlugin.swift +++ b/packages/flutter/ios/sentry_flutter/Sources/sentry_flutter/SentryFlutterPlugin.swift @@ -1,4 +1,4 @@ -import Sentry +@_spi(Private) import Sentry #if SWIFT_PACKAGE import Sentry._Hybrid @@ -578,8 +578,8 @@ public class SentryFlutterPlugin: NSObject, FlutterPlugin { for address in instructionAddresses { let hexDigits = address.replacingOccurrences(of: "0x", with: "") if let instructionAddress = UInt64(hexDigits, radix: 16) { - let image = SentryDependencyContainer.sharedInstance().binaryImageCache.image( - byAddress: instructionAddress) + let image = SentryDependencyContainer.sharedInstance().binaryImageCache + .imageByAddress(instructionAddress) if let image = image { let imageAddress = sentry_formatHexAddressUInt64(image.address)! imagesAddresses.insert(imageAddress)