Tlaster / PreCompose

Compose Multiplatform Navigation && State Management
https://tlaster.github.io/PreCompose/
MIT License
866 stars 50 forks source link

How do I run this sample code on iOS? #341

Open kamoguai opened 5 months ago

kamoguai commented 5 months ago
截圖 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

Tlaster commented 5 months ago

~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.

kamoguai commented 5 months ago

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

Tlaster commented 5 months ago

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.