Is there a new equivalent to uikit application con...
# compose-ios
a
Is there a new equivalent to uikit application configuration? The following code doesn't work anymore after updating Compose to 1.5.10.
Copy code
compose.experimental {
    uikit.application {
        ...
    }
}
plus one 3
k
@Kashismails
n
Yes, we have removed this functionality. Now the recommended way to create projects with iOS target is to use KMP wizard -- https://kmp.jetbrains.com/
🫠 2
You may configure TEAM_ID, BUNDLE_ID by editing iosApp/Configuration/Config.xcconfig in the generated project.
You need to migrate to wizard-generated project structure if you used uikit.application configuration before
a
Sad to hear, but thanks for confirming! It was really nice to have Kotlin only projects. 🥹
💯 1
d
is there a way to add the iOS target to an existing compose multiplatform project?
n
Yes, of course. You need manually configure Gradle build scripts for this taking https://kmp.jetbrains.com/ generated project as an example. Unfortunately there is no automation for this, you may create an enhancement for this in Fleet issue tracker where KMP tooling is developed now
👍🏻 1
x
ah crap - i've removed all the xcode projects and now i have to add these back in again 😞 would be nice to have kotlin-only projects
2