https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
t

Thomas Skovsgaard

09/19/2023, 10:24 AM
Hey, I created a new Multiplatform App, haven't implemented anything yet, but the base project fails to build with this error:
Copy code
The /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld command returned non-zero exit code: 1.
output:
-iphoneos_version_min has been renamed to -ios_version_min
ld: unknown options: -sdk_version
Using • Xcode 15 • Android Studio Giraffe | 2022.3.1 Patch 1 • Kotlin Multiplatform Mobile plugin 0.6.1(223)-18 I suspect something changed from Xcode 14 to 15 but not sure how to fix it 🙂
p

Paweł Kulikowski

09/19/2023, 10:26 AM
I believe you need to use the newest multiplatform plugin to make it work in XCode 15 or somehow provide this missing flag manually
sorry kotlin needs to be updated to 1.9.10
t

Thomas Skovsgaard

09/19/2023, 10:29 AM
Arh okay, the base project uses 1.8.21, I will try to update, thanks 👍
p

Paweł Kulikowski

09/19/2023, 10:29 AM
👍
t

Thomas Skovsgaard

09/22/2023, 8:24 AM
For the record, upgrading to Kotlin 1.9.10 helped, thanks 🙂
p

Paweł Kulikowski

09/25/2023, 7:51 AM
👍
4 Views