icerockdev / moko-template

Template project of a Mobile (Android & iOS) Kotlin MultiPlatform project with the MOKO libraries and modularized architecture
https://moko.icerock.dev/
Apache License 2.0
461 stars 47 forks source link

xcode 10.1 support #15

Closed winnerawan closed 4 years ago

winnerawan commented 4 years ago

Is this only work in macos catalina with xcode 11+ only? or maybe someday i can use xcode 10? i use macos high sierra and xcode 10.1 got this exception when running pod install


Analyzing dependencies
Downloading dependencies
prepare MultiPlatformLibrary.framework (require some time...)
e: java.lang.IllegalStateException: Unsupported Xcode version 10.1, minimal supported version is 11.0.
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl.checkXcodeVersion(Apple.kt:94)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl.access$checkXcodeVersion(Apple.kt:24)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl$xcodePartsProvider$2.invoke(Apple.kt:72)
        at org.jetbrains.kotlin.konan.target.AppleConfigurablesImpl$xcodePartsProvider$2.invoke(Apple.kt:24)
        at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
Alex009 commented 4 years ago

@winnerawan this limits from https://github.com/JetBrains/kotlin-native i think no plans about support old xcode

winnerawan commented 4 years ago

@Alex009 Ok, thanks for fast reply. Will try to upgrade this night.