Skip to content

Commit 0bed7af

Browse files
fix symbol multiply defined (#226)
* Fix cocoapods * Update * Format code * Update Changelog --------- Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
1 parent 06855d4 commit 0bed7af

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Symbol multiply defined when trying to run cocoa targets ([#226](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/226))
8+
39
## 0.7.0
410

511
### Features

sentry-kotlin-multiplatform/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,11 @@ kotlin {
194194
targets.withType<KotlinNativeTarget>().all {
195195
compilations["main"].cinterops["Sentry"].extraOpts(
196196
"-compiler-option",
197-
"-DSentryMechanismMeta=SentryMechanismMetaUnavailable"
197+
"-DSentryMechanismMeta=SentryMechanismMetaUnavailable",
198+
"-compiler-option",
199+
"-DSentryIntegrationProtocol=SentryIntegrationProtocolUnavailable",
200+
"-compiler-option",
201+
"-DSentryMetricsAPIDelegate=SentryMetricsAPIDelegateUnavailable"
198202
)
199203
}
200204
}

0 commit comments

Comments
 (0)