Travis Reitter
02/23/2022, 5:18 PMcinterops
seem to be built with bitcode (well, marker) as well as my KMM library and the app works as a release build but if I try to create the archive in Xcode, I hit this error:
ld: bitcode bundle could not be generated because '/Users/treitter/doublestrain/DoubleStrain/SharedCode/build/xcode-frameworks/Release/iphoneos15.2/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/treitter/doublestrain/DoubleStrain/SharedCode/build/xcode-frameworks/Release/iphoneos15.2/SharedCode.framework/SharedCode' for architecture arm64
I get the same error whether or not I include embedBitcode("bitcode")
in my framework
block. This is with Kotlin 1.6.10 on an M1 Mac.
This is the only thing blocking me from my first KMM-based release so any help is greatly appreciated! 🙂Travis Reitter
02/23/2022, 8:04 PMwbertan
02/28/2022, 9:29 AMDebug
, since it is generating all right for the Release
version.Travis Reitter
03/04/2022, 4:40 AMTravis Reitter
03/04/2022, 4:45 AMwbertan
03/04/2022, 9:17 AMTravis Reitter
03/09/2022, 6:47 AM