Hi everyone, I’m trying to build a KMP project for...
# multiplatform
m
Hi everyone, I’m trying to build a KMP project for iOS on macOS Ventura 13.7+ with Xcode 15.2 (the maximum supported on my machine). When I open the generated iOS project from the Kotlin Multiplatform wizard, I get this error: “The project ‘iosApp’ is damaged and cannot be opened… Exception: didn't find classname for ‘isa’ key.” Is this related to my macOS/Xcode version being too old for the current KMP setup? Is there a minimum macOS or Xcode version required now for building iOS targets with KMP? Thanks in advance for any guidance.
f
Yes it’s related to your Xcode version, But I can’t answer for the minimal target of Xcode.
m
Thanks for confirming! Since I’m already on the maximum Xcode version supported by my macOS (Ventura 13.7 → Xcode 15.2), upgrading Xcode isn’t an option for me. If KMP needs updated Xcode higher than 15.2, then I have to upgrade the machine, and that is something big for me.
f
FYI, Apple require to use the lastest major iOS SDK for distribution
🙌 1
s
m
Thanks, I am new to IOS, So what I have understand is like, if I want to distribute a IOS app, I still needs the latest IOS SDK for it to support all the older and latest devices. And if I am developing the app using
Kotlin Multiplatform plugin version 1.9.20
, it limits my support to iOS 17.2 only, which is supported by Xcode 15.2
f
That's a requirement on the AppStore just like on android build SDK property
m
yeahh, But android never says, that you needs to update to latest OS in your computer to develop for latest compileSDK, Apple is really amazing. 🙂 Thanks for your help.
🚀 1