xcode – No such module ‘shared’ error when focusing on Any iOS Gadget in KMM app


When focusing on “Any iOS Gadget (arm64)”, XCode can not seem to discover a reference to the shared module from KMM. However this module is offered and accessible if I modify the app goal to an iOS simulator. I also can construct and run the app within the simulator. I want to focus on “Any iOS Gadget (arm64)” to have the ability to archive my iOS app and publish it to App Retailer.

I am following this official tutorial from Kotlin and created the entire KMM mission in Android Studio. I do not suppose the tutorial mentions any particular configuration that’s wanted to have the ability to archive the iOS app. Identical to the tutorial, my mission use common framework, not CocoaPods.