touchlab / SKIE

SKIE - Swift Kotlin Interface Enhancer
https://skie.touchlab.co/
Apache License 2.0
759 stars 8 forks source link

Support building xcframework with bitcode enabled #91

Closed BitByAVampire closed 5 months ago

BitByAVampire commented 5 months ago

Currently when we build the xcframework with skie plugin we get this error e: java.lang.IllegalStateException: Bitcode embedding is not supported by SKIE. To disable bitcode embedding you likely need to removeembedBitcode(BitcodeEmbeddingMode.BITCODE)from the Gradle build script.

Is it possible to have SKIE support bitcode embedding? We would like to have bitcode embedding so that we can use a security tool to apply protections to the built framework.

FilipDolnik commented 5 months ago

Hi! Unfortunately, no. To my knowledge, this is a limitation of how SKIE uses the Swift compiler. Apple deprecated/stopped supporting bitcode embedding a while ago, so I doubt its support will improve in the future - if anything it will get worse.