Is there a way to control which iOS SDK is used by...
# compose-ios
d
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
Thanks for investigation!
d
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
d
ℹ️ Found an existing issue