does anyone have luck compiling `1.8.0-alpha03` cm...
# compose-ios
h
does anyone have luck compiling
1.8.0-alpha03
cmp on iOS? > Task uiroot:linkDebugFrameworkIosSimulatorArm64 FAILED java.lang.ClassCastException works fine for
1.7.3
j
works for me .. can you show more of the error?
h
image.png,image.png
j
can you try with
--stacktrace
?
h
just a null, confused af 😄
oh, here’s the error, gave it on the 3rd try
Copy code
e: Compilation failed: class org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl cannot be cast to class org.jetbrains.kotlin.ir.declarations.IrClass (org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl and org.jetbrains.kotlin.ir.declarations.IrClass are in unnamed module of loader java.net.URLClassLoader @6e98637e)

 * Source files: 
 * Compiler version: 2.1.10
 * Output kind: FRAMEWORK

e: java.lang.ClassCastException: class org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl cannot be cast to class org.jetbrains.kotlin.ir.declarations.IrClass (org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl and org.jetbrains.kotlin.ir.declarations.IrClass are in unnamed module of loader java.net.URLClassLoader @6e98637e)
works fine for Android tho hah
j
not sure at all, looks like a gradle issue?
h
i am using 8.12.1, which one are you on?
j
8.9
h
i get hit with Minimum supported Gradle version is 8.10.2. Current version is 8.9. i’ll try with 8.10.2 in a bit
nope, same error
j
have you tried removing the "ImplicitSignedToUnsigned" config?
p
Hi! is it possible to get reproducer for that issue?
h
@Pavel Shishkin it’s my personal project, is there a way to provide some info to help you?
@James Bowler also tried removing the config, still same error 😕
working version
Copy code
androidx-navigation = "2.8.0-alpha12"
androidx-navigation-material = "1.7.0-beta02"
compose-plugin = "1.7.3"
non working version
Copy code
androidx-navigation = "2.8.0-alpha12"
androidx-navigation-material = "1.7.0-beta02"
compose-plugin = "1.7.3"