Ok folks, XCFramework packaging question. I’m bui...
# multiplatform
m
Ok folks, XCFramework packaging question. I’m building an xcframework, which i brought into an iOS project (see above post). That XCFramework requires a pod, which i’ve put in my build.gradle.kts. I’ve managed to get things working, but i had to also import the pod i need directly into the actual iOS project. I tried setting up BITCODE inclusion in my framework:
Copy code
embedBitcode(org.jetbrains.kotlin.gradle.plugin.mpp.BitcodeEmbeddingMode.BITCODE)
but that always fails with
Copy code
DSJSONSchemaValidation/DSJSONSchemaValidation.framework/DSJSONSchemaValidation' 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 suppose i can live with having to import both my framework and this pod into the project, since it’s only a single pod, but i think this would present a scaling problem if i had multiple pods, or multiple frameworks that have to do this. I’m wondering if this is just a function of the underlying DSJSONSchemaValidation pod and not incuding certain things.