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
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ org.gradle.parallel=true
#Kotlin
kotlin.code.style=official
kotlin.daemon.jvmargs=-Xmx4G
kotlin.mpp.enableCInteropCommonization=true

#Android
android.useAndroidX=true
Expand Down
13 changes: 10 additions & 3 deletions mediaplayer/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ kotlin {
binaries.executable()
}

iosX64()
iosArm64()
iosSimulatorArm64()
listOf(
iosArm64(),
iosSimulatorArm64(),
iosX64(),
).forEach { target ->
target.compilations.getByName("main") {
// The default file path is src/nativeInterop/cinterop/<interop-name>.def
val nskeyvalueobserving by cinterops.creating
}
}


cocoapods {
Expand Down
Loading
Loading