anyone figured out how to launch their ios app via...
# compose-ios
a
anyone figured out how to launch their ios app via intellij/android studio?
a
What issue are you facing ?
a
i dont know what configuration to create so that i can launch my ios app from intellij
a
you can launch from AS but not from IntelliJ, this is what i have observed.
Also, sometimes the Fleet and AS are unable to open simulator so i first open simulator from XCode and then it works.
a
you are right. turns out i was missing the Compose plugin on IDEA AS does have the iosApp config out of the box, but it doesn't pick up any simulators. it does run on the simulator though
a
Yes, and if you click on edit configuration for ios, there you can select different simulators.
a
@Abdul Basit is there any way to set a debugger this way? they debugger icon is greyed out here
a
Fleet supports debugging ios code.
not sure about AS, i think there is a way. @Arkadii Ivanov was doing that with IntelliJ if i think.
a
all good. had to enable an experimental compiler via settings
❤️ 2
K 1
just tried and the debugger works
a
Nice, thanks for sharing that.
c
ive been using fleet lately, but in the past I was able to use AS with the kmm plugin. and that would allow me to launch ios sim from there
a
I am trying to launch iOS app in debug mode from Android Studio but it is getting stuck.
a
@Abdul Basit by stuck you mean starts the app but it's just a blank screen?
a
Yes
a
got the same some times. not sure if it is AS or just a standard ios problem. seems like stopping the app from AS and trying again sometimes fixes it. I also tried a new simulator and i got the same behavior
a
For me, every first app launch after the simulator start takes ~5-10 seconds to start rendering something. Subsequent launches are fast.
b
How do you start the ios app via AS when using cocoapods? it complains it cannot find the dependency while in xcode it's all good.
a
Oh, I don't use cocoapods. But this freezing issue happens also when starting from Xcode.
a
the experience of debugging from AS seems very good.