Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kamoguai opened this issue Jun 24, 2024 · 3 comments
Open

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

kamoguai opened this issue Jun 24, 2024 · 3 comments

Comments

@kamoguai
Copy link

截圖 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
Copy link
Owner

Tlaster commented Jun 25, 2024

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
Copy link
Author

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

@Tlaster
Copy link
Owner

Tlaster commented Jun 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants