@@ -41,34 +41,32 @@ kotlin {
4141 binaries.executable()
4242 }
4343
44- if (Os .isFamily(Os .FAMILY_MAC )) {
45- listOf (
46- iosArm64(),
47- iosSimulatorArm64(),
48- ).forEach { target ->
49- target.compilations.getByName(" main" ) {
50- // The default file path is src/nativeInterop/cinterop/<interop-name>.def
51- val nskeyvalueobserving by cinterops.creating
52- }
44+ listOf (
45+ iosArm64(),
46+ iosSimulatorArm64(),
47+ ).forEach { target ->
48+ target.compilations.getByName(" main" ) {
49+ // The default file path is src/nativeInterop/cinterop/<interop-name>.def
50+ val nskeyvalueobserving by cinterops.creating
5351 }
52+ }
5453
55- cocoapods {
56- version = if (projectVersion == " dev" ) " 0.0.1-dev" else projectVersion
57- summary = " A multiplatform video player library for Compose applications"
58- homepage = " https://github.com/kdroidFilter/Compose-Media-Player"
59- name = " ComposeMediaPlayer"
60-
61- framework {
62- baseName = " ComposeMediaPlayer"
63- isStatic = false
64- @OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi ::class )
65- transitiveExport = false
66- }
67-
68- // Maps custom Xcode configuration to NativeBuildType
69- xcodeConfigurationToNativeBuildType[" CUSTOM_DEBUG" ] = NativeBuildType .DEBUG
70- xcodeConfigurationToNativeBuildType[" CUSTOM_RELEASE" ] = NativeBuildType .RELEASE
54+ cocoapods {
55+ version = if (projectVersion == " dev" ) " 0.0.1-dev" else projectVersion
56+ summary = " A multiplatform video player library for Compose applications"
57+ homepage = " https://github.com/kdroidFilter/Compose-Media-Player"
58+ name = " ComposeMediaPlayer"
59+
60+ framework {
61+ baseName = " ComposeMediaPlayer"
62+ isStatic = false
63+ @OptIn(org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi ::class )
64+ transitiveExport = false
7165 }
66+
67+ // Maps custom Xcode configuration to NativeBuildType
68+ xcodeConfigurationToNativeBuildType[" CUSTOM_DEBUG" ] = NativeBuildType .DEBUG
69+ xcodeConfigurationToNativeBuildType[" CUSTOM_RELEASE" ] = NativeBuildType .RELEASE
7270 }
7371
7472 sourceSets {
0 commit comments