-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on iOS #14
Comments
Same mistake here!
|
@orelvis15 does that happen to you with any version or just the alpha? |
@carvalho2707 In version 1.3.0 it is not happening but in beta03 it is happening, I have not tested beta02 and beta01. |
@tiago-carvalho-deltatre @carvalho2707 I had the same error with a lib I'm creating and it turns out it seems to be a cache issue.
Add these two lines to settings.gradle of your project and everything will be resolved for libs that fail with an error equal to this.
As I have seen, they should be reviewing this topic in future versions of KMP. |
So we should add it on the lib or in the project that uses it?
I just downgraded to the stable version and it works with no issues so far
|
It should be added to the project that uses it, here is the thread I found with that information. |
@carvalho2707 @tiago-carvalho-deltatre In version 2.0.10 of Kotlin they already have a fix for this problem. |
I do receive the same error while building with the latest version |
Updating kotlin to 2.0.10 fix this issue |
Thank you so much for the amazing work! I followed the thread and updated Kotlin to version 2.0.10, which resolved the build-time crash. |
Using version 1.4.0-beta03 the app doesn't build on iOS.
kotlin: 2.0.0
compose: 1.6.11
Showing All Errors Only
org.jetbrains.kotlin.backend.konan.llvm.NativeCodeGeneratorException: Exception during generating code for following declaration:
Showing All Messages
private /* static final field / val $KPROPERTY0: KLocalDelegatedPropertyImpl = error("") / ERROR: unsupported element type: IrConstantObjectImpl */
The text was updated successfully, but these errors were encountered: