diff --git a/CHANGELOG.md b/CHANGELOG.md index e378f874..67af930a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ ## Unreleased +**Note**: This release includes a bump to Sentry Cocoa v8.25.0. +Please use at least version 8.25.0 of the Sentry Cocoa SDK starting from this release. +If you are using the Cocoapods gradle plugin you need to adjust your configuration: + +```kotlin +pod("Sentry") { + version = "8.25.0" + // These extra options are required + extraOpts += listOf("-compiler-option", "-fmodules") +} +``` + ### Enhancements - Make `setSentryUnhandledExceptionHook` public ([#208](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/208)) @@ -11,6 +23,9 @@ - Bump Java SDK from v7.4.0 to v7.8.0 ([#205](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/205), [#206](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/206)) - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#780) - [diff](https://github.com/getsentry/sentry-java/compare/7.4.0...7.8.0) +- Bump Cocoa SDK from v8.20.0 to v8.25.0 ([#209](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/209)) + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8250) + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.20.0...8.25.0) ## 0.5.0 diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index 792b8884..9cbb2f83 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -36,7 +36,7 @@ object Config { val sentryAndroid = "io.sentry:sentry-android:$sentryJavaVersion" val sentryJava = "io.sentry:sentry:$sentryJavaVersion" - val sentryCocoaVersion = "8.20.0" + val sentryCocoaVersion = "8.25.0" val sentryCocoa = "Sentry" object Samples { diff --git a/sentry-kotlin-multiplatform/build.gradle.kts b/sentry-kotlin-multiplatform/build.gradle.kts index de4b815e..45dda945 100644 --- a/sentry-kotlin-multiplatform/build.gradle.kts +++ b/sentry-kotlin-multiplatform/build.gradle.kts @@ -145,7 +145,10 @@ kotlin { homepage = "https://github.com/getsentry/sentry-kotlin-multiplatform" version = "0.0.1" - pod(Config.Libs.sentryCocoa, Config.Libs.sentryCocoaVersion) + pod(Config.Libs.sentryCocoa) { + version = Config.Libs.sentryCocoaVersion + extraOpts += listOf("-compiler-option", "-fmodules") + } ios.deploymentTarget = Config.Cocoa.iosDeploymentTarget osx.deploymentTarget = Config.Cocoa.osxDeploymentTarget diff --git a/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec b/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec index fd365097..7af05cf5 100644 --- a/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec +++ b/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |spec| spec.osx.deployment_target = '10.13' spec.tvos.deployment_target = '11.0' spec.watchos.deployment_target = '4.0' - spec.dependency 'Sentry', '8.20.0' + spec.dependency 'Sentry', '8.25.0' if !Dir.exist?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework') || Dir.empty?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework') raise " @@ -50,4 +50,4 @@ Pod::Spec.new do |spec| } ] -end \ No newline at end of file +end diff --git a/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock b/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock index ea11a31b..20ce8b8e 100644 --- a/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock +++ b/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock @@ -1,12 +1,9 @@ PODS: - - Sentry (8.20.0): - - Sentry/Core (= 8.20.0) - - SentryPrivate (= 8.20.0) - - Sentry/Core (8.20.0): - - SentryPrivate (= 8.20.0) - - SentryPrivate (8.20.0) + - Sentry (8.25.0): + - Sentry/Core (= 8.25.0) + - Sentry/Core (8.25.0) - shared (1.0): - - Sentry (= 8.20.0) + - Sentry (= 8.25.0) DEPENDENCIES: - shared (from `../shared`) @@ -14,16 +11,14 @@ DEPENDENCIES: SPEC REPOS: trunk: - Sentry - - SentryPrivate EXTERNAL SOURCES: shared: :path: "../shared" SPEC CHECKSUMS: - Sentry: a8d7b373b9f9868442b02a0c425192f693103cbf - SentryPrivate: 006b24af16828441f70e2ab6adf241bd0a8ad130 - shared: 1f6c0649407365a649be810e8ee7f09e1fc32868 + Sentry: cd86fc55628f5b7c572cabe66cc8f95a9d2f165a + shared: 9b60306d775c7bb09035fb0d355ab1a6f253e819 PODFILE CHECKSUM: f282da88f39e69507b0a255187c8a6b644477756 diff --git a/sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts b/sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts index b6537b4b..fde5761c 100644 --- a/sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts +++ b/sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts @@ -31,7 +31,10 @@ kotlin { ios.deploymentTarget = "14.1" podfile = project.file("../iosApp/Podfile") - pod("Sentry", Config.Libs.sentryCocoaVersion) + pod("Sentry") { + version = Config.Libs.sentryCocoaVersion + extraOpts += listOf("-compiler-option", "-fmodules") + } framework { baseName = "shared" diff --git a/sentry-samples/kmp-app-cocoapods/shared/shared.podspec b/sentry-samples/kmp-app-cocoapods/shared/shared.podspec index 46ad91f3..59f24592 100644 --- a/sentry-samples/kmp-app-cocoapods/shared/shared.podspec +++ b/sentry-samples/kmp-app-cocoapods/shared/shared.podspec @@ -9,7 +9,7 @@ Pod::Spec.new do |spec| spec.vendored_frameworks = 'build/cocoapods/framework/shared.framework' spec.libraries = 'c++' spec.ios.deployment_target = '14.1' - spec.dependency 'Sentry', '8.20.0' + spec.dependency 'Sentry', '8.25.0' if !Dir.exist?('build/cocoapods/framework/shared.framework') || Dir.empty?('build/cocoapods/framework/shared.framework') raise "