diff --git a/kotlin-native/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt b/kotlin-native/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt index 0ad58562865..03fd90fc8df 100644 --- a/kotlin-native/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt +++ b/kotlin-native/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/Xcode.kt @@ -35,6 +35,13 @@ interface Xcode { val additionalTools: String val simulatorRuntimes: String + /** + * TODO: `toLowerCase` is deprecated and should be replaced with `lowercase`, but + * this code used in buildSrc which depends on bootstrap version of stdlib, so right version + * of this function isn't available, please replace warning suppression with right function + * when compatible version of bootstrap will be available. + */ + @Suppress("DEPRECATION") fun pathToPlatformSdk(platformName: String): String = when (platformName.toLowerCase()) { "macosx" -> macosxSdk "iphoneos" -> iphoneosSdk