https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
b

Bart Whiteley

12/09/2021, 6:46 PM
When building with
kotlin-gradle-plugin:1.6.0
my iOS framework doesn’t have bitcode, but
kotlin-gradle-plugin:1.5.31
works. What am I doing wrong? I have this:
Copy code
ios {
        binaries {
            framework {
                baseName = "kmmsharedmodule"
                embedBitcode("bitcode")
                xcf.add(this)
            }
        }
    }
w

wbertan

02/15/2022, 11:19 AM
Hey @Bart Whiteley did you manage to solve this? We are updating to Kotlin
1.6.10
, and getting the same issue 😞
b

Bart Whiteley

02/15/2022, 3:19 PM
@wbertan I don't think so. IIRC, I turned off bitcode everywhere else instead.
w

wbertan

02/15/2022, 3:22 PM
😞 Thanks! We are considering this too. Found out for iOS
Release
it includes the bitcode 👀 So it seems basically is ignoring the
embedBitcode
and using the default behaviour (Debug as Marker and Release as Bitcode)
2 Views