https://kotlinlang.org logo
m

Michal Klimczak

08/25/2021, 10:40 AM
my ios tests stopped working with
Copy code
* Compiler version info: Konan: 1.5.21 / Kotlin: 1.5.21
 * Output kind: PROGRAM
e: java.lang.UnsatisfiedLinkError: /Users/.../.konan/kotlin-native-prebuilt-macos-1.5.21/konan/nativelib/91439921922225643/libllvmstubs.dylib: dlopen(/Users/.../.konan/kotlin-native-prebuilt-macos-1.5.21/konan/nativelib/91439921922225643/libllvmstubs.dylib, 1): no suitable image found.  Did find:
	/Users/.../.konan/kotlin-native-prebuilt-macos-1.5.21/konan/nativelib/91439921922225643/libllvmstubs.dylib: mach-o, but wrong architecture
	/Users/.../.konan/kotlin-native-prebuilt-macos-1.5.21/konan/nativelib/91439921922225643/libllvmstubs.dylib: mach-o, but wrong architecture
It's similar to this, but somehow it builds just fine for the ios app but fails for tests. Changing JDK didn't work either. I can;t go with 1.5.30-M1 yet (as per this comment)
t

Tijl

08/25/2021, 10:46 AM
1.5.30 final is out FYI
m

Michal Klimczak

08/25/2021, 10:47 AM
btw it works when run from cmdline via
gradlew iosTest
. But not when run from Android Studio. Maybe the AS for aarch64 links wrong jdk?
I know, but I also have compose which only just started using 1.5.21, so can't yet jump to 30 😞 (I think)
3 Views