Hi everyone! I develop KMM app and I can’t run ios...
# multiplatform
p
Hi everyone! I develop KMM app and I can’t run ios project from Android Studio. Maybe someone already had similar issue? From XCode I can build and launch app without any problem
g
I doubt that it has integration with AS, probably the easiest solution is just to run gradle task to run app, you can add a run configuration to do this
p
I know that this feature is supported - it should be possible to run ios app from AS using ios app configuration same way we do with android. I need it because otherwise there is no possibility to debug shared code
As you can see from screenshot there is an ios configuration but it is marked as invalid and has this error: “Selected device not found”
Oh - I figured out what is wrong ))) Sorry for bothering. I had to choose proper execution target
g
For me it just don’t open the iOS simulator. The build is successful and everything and it runs from the Xcode, but the studio cannot open the simulator at all.
p
Weird
Execution target is valid?
g
yepp, I checked everything and I guess it wouldn’t build if the config is not valid.
p
Sorry - no ideas
g
It’s not that critical since you need the Xcode for UI anyway.
p
But you cant debug native kotlin code launching from xcode