https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
a

Arkadii Ivanov

11/11/2023, 1:00 PM
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 2
k

Khanzada Kashif

11/13/2023, 6:07 AM
@Kashismails
n

Nikita Lipsky

11/13/2023, 11:05 AM
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/
🫠 1
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

Arkadii Ivanov

11/13/2023, 11:13 AM
Sad to hear, but thanks for confirming! It was really nice to have Kotlin only projects. 🥹
💯 1
d

Dragos Rachieru

11/16/2023, 9:42 AM
is there a way to add the iOS target to an existing compose multiplatform project?
n

Nikita Lipsky

11/16/2023, 11:18 AM
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

xxfast

11/29/2023, 10:14 PM
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
1
2 Views