Hello! I'm trying to generate framework for iOS wi...
# multiplatform
r
Hello! I'm trying to generate framework for iOS with Room multiplatform but I encountered error:
Copy code
sqlite:sqlite-bundled-cinterop-androidXBundledSqlite-cache.a(sqlite3.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target.
I use
Copy code
implementation("androidx.sqlite:sqlite-bundled:2.5.0-SNAPSHOT")
in common module. In dependencies I setup ksp:
Copy code
dependencies {
    ksp("androidx.room:room-compiler:2.7.0-alpha08")
}
Everything works in tests, there is issue only with building framework
I know that I can disable bitcode, but it is good tool to have in debug on iOS
h
bitcode is deprecated in Xcode 15 and removed in Xcode 16, maybe that's why it is disabled by androidx.sqlite
r
Thanks, I'm not iOS developer so I had no idea, I'll check it