I upgraded to Kotlin 2.0 and now iOS build fails w...
# multiplatform
v
I upgraded to Kotlin 2.0 and now iOS build fails with this error
error: Invalid record (Producer: 'LLVM11.1.0' Reader: 'LLVM APPLE_1_1500.0.40.1_0')
Anyone knows how to fix this?
a
Are you using the latest XCode?
v
I'm on 15.0
a
Hmm... it's low chance, but try to update on 15.2
v
Trying that
Tried on 15.4, still same
🥲 1
s
@Vaibhav Jaiswal Have you found any solution yet?
v
Nope, It still fails
s
I found the issue in my case. I had something that was exposing the context receiver to objc and adding the
@HiddenFromObjC
annotation fixed it.
v
I am not using ContextReceivers Thanks for the suggestion
Fixed it I had this applied to my text field
Copy code
style = FonStyle(lineHeightStyle = LineHeightStyle(alignment = alignment, trim = trim))
Removed it and it built fine
s
It kind of makes sense to happen with context receivers but for this it doesn’t make any sense.