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

darkmoon_uk

07/26/2022, 12:19 AM
Is there a way to control which iOS SDK is used by
ExperimentalUiKitApplication
as used by the Falling Balls example? By default it is trying to use iOS SDK 15.4. I would like to try and make it use 15.5.
To answer my own question, I can see that there isn't at this stage, not directly. SDK string is computed here:
org.jetbrains.compose.experimental.uikit.internal.RegisterConnectedDeviceTasksKt#registerConnectedDeviceTasks
...but in an unreliable way. It just picks the first known Simulator runtime version as the SDK; which isn't necessarily an installed SDK version. This is unreliable and not working on my setup.
d

Dima Avdeev

07/26/2022, 10:01 AM
Thanks for investigation!
d

darkmoon_uk

07/26/2022, 11:21 PM
Understanding this is an experimental feature; is it worth me raising a request in YouTrack to expose an iOS SDK parameter via the Gradle Extension?
d

Dima Avdeev

07/27/2022, 8:47 AM
d

darkmoon_uk

09/03/2022, 3:31 AM
ℹ️ Found an existing issue
6 Views