Open saifi369 opened 2 months ago
Thanks for reporting this issue. Can you share the versions you are using.
I'm using these versions.
calf = "0.5.5"
compose = "1.6.11"
kotlin = "2.0.10"
I will check it.
Couldn't reproduce it. Can you try the app sample and let me know if it happens for you there as well?
I've tried on a blank project and it works without any issue but crashes on my main project. I'm attaching the project link if you want to investigate further. You can try the main branch, application will crash during the onboarding screens. https://github.com/saifi369/KMP-ExpenseTracker
App crashes on this line : https://github.com/saifi369/KMP-ExpenseTracker/blob/c8042091c424a9455f06887dab1187c4eed951ed/composeApp/src/commonMain/kotlin/presentation/screen/accountsetup/AccountSetupScreen.kt#L157
I will check it.
@MohamedRejeb I've resolved the issue after changing the compose-plugin from 1.7.0-alpha0
to 1.6.11
. My bad 😆
Please feel free to close this.
Hi @MohamedRejeb
After downgrading to compose 1.6.11, app works fine on Android but I'm getting this exception for iOS.
> Task :composeApp:compileKotlinIosSimulatorArm64
Failed to load native library:libjansi.jnilib. The native library file at /Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib is not executable, make sure that the directory is mounted on a partition without the noexec flag, or set the jansi.tmpdir system property to point to a proper location. osinfo: Mac/arm64
java.lang.UnsatisfiedLinkError: /Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib: dlopen(/Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib, 0x0001): tried: '/Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (no such file), '/Users/saifi369/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
I also tried running the project from XCode but that fails as well.
Hi, My app is crashing on Android and iOS while instantiating adaptive time picker state.
I'm getting this exception:
PS: I've tested the AlertDialog and that works fine.