PreCompose icon indicating copy to clipboard operation
PreCompose copied to clipboard

How do I run this sample code on iOS?

Open kamoguai opened this issue 1 year ago • 3 comments

截圖 2024-06-24 下午4 38 44

There is no iOS option in the run configuration. How can I launch it on the iPhone simulator?

thanks

kamoguai avatar Jun 24 '24 08:06 kamoguai

~The sample is a legacy iOS configure, you need to run the sample by command ./gradlew :sample:todo:ios:iosDeploySimulatorDebug~, I do have a plan to migrate the sample.

Update: Never mind, ./gradlew :sample:todo:ios:iosDeploySimulatorDebug is not in current version of compose any more.

Tlaster avatar Jun 25 '24 03:06 Tlaster

Thank you for your response. What can I do to run the sample code on any physical iOS device?

kamoguai avatar Jun 26 '24 09:06 kamoguai

At present, it is not possible to execute the sample code on iOS, it is necessary to transition the sample code to the new Compose Multiplatform project.

Tlaster avatar Jun 27 '24 01:06 Tlaster