Hey! I try the new version of koltin (2.3.0-Beta1)...
# swift-export
d
Hey! I try the new version of koltin (2.3.0-Beta1) and SwiftExport functionality. I updated several versions in the project and now I can't figure out where it went wrong, during the app build I get this stack trace: (in thread)
Copy code
Could not find or use auto-linked framework 'UIUtilities': framework 'UIUtilities' not found
Could not parse or use implicit file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/SwiftUICore.framework/SwiftUICore.tbd': cannot link directly with 'SwiftUICore' because product being built is not an allowed client of it
Undefined symbol: _OBJC_CLASS_$_MLNScaleBar
Linker command failed with exit code 1 (use -v to see invocation)
Build failed with 2 errors and 4 warnings in 11 sec, 548 ms
a
That error is about xcode support(probably you have xcode 26 installed/selected and/or using api from it?) 2.3.0-Beta1 don't support xcode 26, iirc, please use 2.2.21 or 2.3.0-Beta2(at this moment dev version)
d
the version of xCode is 26.0.1 (17A400) indeed
I need a version that KRPC supports, because my project has a dependency on it, I checked yesterday it has an artifact for 2.2.20 but not for 2.2.21
a
KRPC - you mean kotlinx.rpc? Have you tried, is there any error with 2.2.21? I would expect that patch release of kotlin does need explicit support from any library, tbh.
d
@Artem Olkov yes this lib, I would expect the same, but it does not work like that, since it's not stable - they ship it tied to the kotlin version
https://kotlinlang.slack.com/archives/C072YJ3Q91V/p1757540107817489 Majority of the last problems in this slack channel are because of it
Required by: project ':shared' Cause 4: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find org.jetbrains.kotlinxkotlinx rpc compiler plugin cli2.2.21-0.10.0.
a
Sorry, but I'm unable to provide any kind of support for kotlinx.rpc. Please use appropriate channel for that support 🙂
d
Yes, i know, just provided more context, anyway thanks for the hint about xCode version
🫡 1
A new version of krpc was just added 30 min ago, now everything works 🔥, I use this combo of versions: kotlin 2.2.21, krpc 0.10.1, and XCode 26
I spend yesterday whole day to fix it :D
a
Just out of curiosity - why would you force xcode update? Why not just use 16.4, while there is no official support from our side?
d
I installed Mac OC Tahoe and there were some problems with XCode 16
The whole KMP environment has now too many points of failure: Kotlin version Libraries versions OS version XCode version and maybe others It’s hard to find the compatible ones and only God knows where these versions are listed, for example “don’t use Kotlin 2.2.20 because it’s not compatible with XCode 26 and MacOS Tahoe”, “ Or don’t use this lib because it’s not compatible with Kotlin last version etc”
a
I've passed your pain points further along the lines, we will look into what could be done to simplify this experience 🙂 Thanks for the report!
d
I guess all multi platform solutions like react native etc have similar problems because of MacOS/XCode updates
133 Views