If you want to try Compose 1.5.0-rc01 you should d...
# compose-ios
d
If you want to try Compose 1.5.0-rc01 you should do the following with your project: • Update Compose version to
1.5.0-rc01
, Kotlin version to
1.9.0
• Remove line with resources https://github.com/JetBrains/compose-multiplatform-ios-android-template/blob/c20faa099552dac7bcc242c72fe49e1f260177e9/shared/build.gradle.kts#L25 • And run command
./gradlew podInstall
once
👍 6
K 1
🫡 1
👍🏻 1
s
When can the podInstall requirement be dropped?
2
d
If you already migrate to 1.5.0-beta01 and higher - it may be already dropped
I wrote it for projects with Compose 1.4.3 and lower
s
Understood. 👍
f
Would this also work with regular framework? And is the ./gradlew podInstall in that case still neccessary?
s
I got it to work without podInstall.
👍 1
To add: The important Gradle task to be set in XCode is
syncComposeResourcesForIos
. The full
embedAndSignAppleFrameworkForXcode
does not work for me on CI for some reason, but building the XCFramework separate does.