Tlaster / PreCompose

Compose Multiplatform Navigation && State Management

Home Page:https://tlaster.github.io/PreCompose/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How Can I Run IOS app, I did not find .xcodeproj file in sample projects

Moozart opened this issue · comments

Hello,
Thanks a lot for this amazing project.
How Can I Run IOS app, I did not find .xcodeproj file in sample projects.
I investigated this repo, "compose-multiplatform-ios-android-template"
Is it different approach from urs?

PreCompose sample still using "old" Compose iOS project structure, so you'll need to run ./gradlew :sample:todo:ios:iosDeploySimulatorDebug in order to run sample iOS project.
I do have a plan on upgrading to new Compose iOS project structure, but currently I do not have the time to do that, but PreCompose's setup should be not that different for iOS.

Thank you so much, I am trying to implement with new IOS project structure.
I just faced " java.lang.IllegalStateException: No StateHolder provided" exception running on Android

Sorry my fault, I replaced setContent with "moe.tlaster.precompose.lifecycle.setContent".