Closed
Description
Platform
Apple
Installed
CocoaPods
Version
0.9.0
Steps to Reproduce
Kotlin 2.0.20
project build.gradle.kts:
kotlin("native.cocoapods") version "2.0.20" apply false
module build.gradle.kts:
kotlin("native.cocoapods") version "2.0.20"
pod setup:
cocoapods {
version = "1.0"
name = "SentryKMP"
specRepos {
url("https://github.com/Kotlin/kotlin-cocoapods-spec.git")
}
pod("Sentry") {
version = "~> 8.25"
linkOnly = true
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
gradle.properties:
kotlin.apple.deprecated.allowUsingEmbedAndSignWithCocoaPodsDependencies=true
Expected Result
Project builds successfully.
Actual Result
Getting this error when trying to build (only happens if I import the Sentry classes and use them in my code, but not otherwise):
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done