Unable to add apple device in Android studio

前端 未结 1 513
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-19 15:49

I want to try out the Kotlin Multiplatform Mobile (KMM) in Android studio. I have installed the Plugin and when I try to add configuration for IOS, nothing shows up. I just

1条回答
  •  隐瞒了意图╮
    2021-01-19 16:32

    I guess you are not running Android Studio on macOS. You must have macOS to compile through XCode and use Apple Simulators.

    If you are running AS on macOS and you created the project with KMM plugin it's weird that you don't have the run configuration for iOS already set up, but you can try to click on the + button on the upper-left corner. Remember that you must have XCode (and Simulators) and command line tools installed on your machine.

    If you are running AS on an OS different from macOS you can only compile the non native (not macOS or iOS) part of the library.

    0 讨论(0)
提交回复
热议问题