I am trying to play along with KMM on Android Studio, after creating a brand new project with the KMM plugin wizard on my Android Studio, I can run the app to Android Emulator just fine. But when I tried to run it on iOS simulator, I got this error
Task 'embedAndSignAppleFrameworkForXcode' not found in project ':shared'.
I am working with M1 Pro machine. After google a little bit, Seems like I have to run the Xcode using Rosetta and update the Build Setting of the iOS project to exclude
arm64
then I can run the iOS app via Xcode. But I still can't run it using Android Studio due to the same error.
So, is that the only workaround to be able to developing KMM app using M1 ?
And, when I got Xcode build successfully, why AS still fail to build/run the iOS App?
Thanks everyone, and sorry if this is repeated questions. Feel free to refer me to some previous discussion around this.