Hello! We are updating from Kotlin `1.5.31` to Kot...
# multiplatform
w
Hello! We are updating from Kotlin
1.5.31
to Kotlin
1.6.10
, and we are having an issue where the
bitcode
is not being included 👀
Copy code
:x:  ld: bitcode bundle could not be generated because '/Users/me/project-native/modules/iosframework/build/xcode-frameworks/Debug/iphoneos15.0/SharedCode.framework/SharedCode' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file '/Users/me/project-native/modules/iosframework/build/xcode-frameworks/Debug/iphoneos15.0/SharedCode.framework/SharedCode' for architecture arm64



:x:  clang: error: linker command failed with exit code 1 (use -v to see invocation)
Our config is:
Copy code
kotlin {
    ios {
        binaries {
            framework {
                baseName = "SharedCode"
                embedBitcode(BitcodeEmbeddingMode.BITCODE)
Found this message about the same case: https://kotlinlang.slack.com/archives/C3PQML5NU/p1639075566171200 Could it be a regression in the plugin?
l
I’m also having this problem - kotlin 1.6.10… anyone found a solution?
t
I never did. I'm planning to just periodically re-try and hope it just suddenly works