https://kotlinlang.org logo
#ios
Title
# ios
t

Theo

06/12/2020, 2:11 PM
I don't know if this has been asked or not regarding multiplatform, I also saw theres one question on stack overflow about it but no answer. Prior to XCode 11.4, Xcode was able to detect whether or not it needed to build the shared framework for
arm
or
x86
however since the upgrade it no longer can do this. My work around since then has just been to run a shell command that builds the framework for which architecture I want when switching between device and simulator. Anyone have any pointers? is this a known issue?
s

Sam

06/12/2020, 2:17 PM
I have asked about this too but not received an answer. My workaround is to delete the framework file when switching architectures. It isn’t ideal. The other thing that I’ve heard works is to switch to the legacy build system.
t

Theo

06/12/2020, 2:19 PM
OK thanks! I added two commands to my fastlane project to build for sim or build for device, I guess I will stick with that for now
4 Views