https://kotlinlang.org logo
#getting-started
Title
# getting-started
z

Zode

11/11/2021, 9:56 AM
Is xcode13 compatible yet? I got an error when trying to build K/N
Copy code
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/xxxx/Develop/kotlin/kotlin-native/build.gradle' line: 66

* What went wrong:
A problem occurred evaluating project ':kotlin-native'.
> Incorrect Xcode version: 13.1. Required major Xcode version is 12.
j

Jurriaan Mous

11/11/2021, 10:15 AM
It seems you need 1.5.30 at least to run on XCode 13 and a recent Gradle version (7.2) https://youtrack.jetbrains.com/issue/KT-47333
z

Zode

11/11/2021, 10:54 AM
Thanks for the reply, I am now in the master branch and found that the gradle/wrapper/gradle-wrapper.properties in the repository will download gradle-7.1.1 by default. I manually upgraded the gradle version specified in the file to 7.2, but the error still persists. I also tried 1.6.0-RC2 and the same problem exists.
2 Views