I’m currently running Xcode 12.5.1 but would like ...
# multiplatform
m
I’m currently running Xcode 12.5.1 but would like to update to Xcode 13. From KMM perspective, would there be anything blocking this?
k
Should work fine
m
Thanks 👍 In general, what would you keep in mind when updating? I guess Kotlin version / KMM plugin version is critical?
Is there any docs as to min versions supporting Xcode13 and iOS 15?
n
We’re not having any issues. We’re using Xcode 13.2 with KMM, and have previously been using both Xcode 12.4 and 12.5.
I don’t believe there are any inherent reasons as to why KMM wouldn’t support any specific newer version of Xcode, since from Xcode’s point of view it is mostly concerned with the generated Objective-C header file. At Cardlay we’re using some Xcode Run Script phases as well as pre-build scripts to optimise incremental build times and developer experience, which we have experienced breaking when upgrading due to different values in the environment variables being passed to these script phases, but since these are our custom scripts this change shouldn’t affect you 🙂
k
In early days of XCode 13 there was a bug that didn’t let you compile when you had some specific pods added: https://youtrack.jetbrains.com/issue/KT-48807 That’s only for your information, because it’s fixed now 🙂
t
you’ll probably have some issues below Kotlin 1.6 (we did), none after upgrading
XCode upgrades also update the compiler flags, the environment variables it sets, etc. this is how KMP can break.