Hi, we are having issues with the latest Xcode 11.4 when switching targets between simulators and device. We use the approach described in https://play.kotlinlang.org/hands-on/Targeting%20iOS%20and%20Android%20with%20Kotlin%20Multiplatform/06_SettingUpKotlinFramework to load the framework for the corresponding architecture in build phase. But it looks like the latest Xcode validates target integrity before running build phases, so the only workaround is to clean the build folder manually whenever the build target is changed, which is annoying. Has anyone found a better solution?
Thanks, we’ll try that! But I thought that’s the whole purpose of the new xcframework bundle type to be able to include multiple architectures in a single framework, at least that’s what they claimed at WWDC: https://developer.apple.com/videos/play/wwdc2019/416/
s
Sam
04/07/2020, 3:17 PM
I think multiple releasable frameworks is what they really mean.