Hello all, By default do kotlin 1.6.0 creates th...
# multiplatform
n
Hello all, By default do kotlin 1.6.0 creates the shared framework for iOS with bitcode enabled or should I write the code below on the build gradle file?
kotlin {
iosArm64(*"myapp"*) {
binaries {
framework {
embedBitcode(*"bitcode"*) // for release binaries.
}
}
}
}
I searched but couldn’t find a clear answer about this subject. *I’m not using cocoapods
v
n
Then I don’t need to add embedBitcode configuration to the build gradle in order to enable bitcode for release mode
👌 1
Thanks
u
Is it the same when using Cocoapods with framework? @Viacheslav Kormushkin
n
Unfortunately after my tests, I saw that KMM framework is not created with bitcode by default. You need to make configurations to create the framework with bitcode enabled
u
@Nilay Dağdemir Just for clarity: adding
embedBitcode(BITCODE)
is enough, right? Or do I have to add anything else?
n
I think yes it should be enough but not sure yet since I still have some problems for creating bitcode enabled framework.
🙏 1
My problems may be related to mac mini with m1 chip