I have started seeing this error after applying th...
# compose-ios
l
I have started seeing this error after applying the compose material, foundation, and runtime dependencies when I run build. I have the swift-package plugin installed, and oddly enough, I can build just fine when I use the createSwiftPackage task, but gradle build always fails.
ld: '/var/folders/26/qt7y26117_52h2ky9hkdztyw0000gn/T/included3677059779110068378/skiko-native-bridges-ios-arm64.a(Font.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.
In this specific project, I’m not currently using Compose ui, so removing everything except compose runtime was acceptable and fixed the problem. I’ll have to check this out on some of my other Compose for iOS projects.
d
iOS support is in very early stage. You can try run this sample https://github.com/JetBrains/compose-jb/tree/master/experimental/examples/falling-balls-mpp This samples works on Intel and M1 CPU's Currently many components not working as well as on Android or Desktop.
d
I'm also seeing this here @Landry Norris, did you end up solving it? https://kotlinlang.slack.com/archives/C0346LWVBJ4/p1665268786653059