Hello everyone, I've been using Kotlin Multiplatfo...
# multiplatform
m
Hello everyone, I've been using Kotlin Multiplatform (KMP) to build an iOS version of my Jetpack Compose app. So far, everything has been working well when testing both on the simulator and a physical device. Now, I'm trying to upload the app to TestFlight as a next step before publishing it to the App Store. However, I'm running into an issue when attempting to archive the project using Product > Archive in Xcode. The error I'm seeing is: > Task composeAppsyncComposeResourcesForIos FAILED
Could not infer iOS target architectures. Make sure to build via Xcode (directly or via Kotlin Multiplatform Mobile plugin for Android Studio).
I'm not quite sure how to resolve this, so if anyone has encountered this issue before or has any ideas, I'd really appreciate your help. Thanks in advance!
c
m
Thanks for sharing, I am already aware of this but I still sometimes mix the names.