Francis Mariano
01/27/2021, 8:21 PMdyld: Library not loaded: /usr/lib/libate.dylib
Referenced from: /private/var/containers/Bundle/Application/ED5BC0AF-C75B-4DF3-92F5-C7B62B0F6DF5/myapp.app/Frameworks/shared.framework/shared
Reason: image not found
My packForXCode task is default, but I replace target name to Arm32:
val targetName = "ios" + if (sdkName.startsWith("iphoneos")) "Arm32" else "X64"
I search about this problem and found the following issue on kotlin-native github https://github.com/JetBrains/kotlin-native/issues/2555 but I don't understand very well.
Again, I am new in iOS perspective and I am studying and learning very much with the community.
Can any help? Thank you
Edit: On simulator the build and running is okThomas Myrden
01/27/2021, 8:26 PMFrancis Mariano
01/27/2021, 8:27 PMThomas Myrden
01/27/2021, 8:28 PMFrancis Mariano
01/27/2021, 8:31 PMThomas Myrden
01/27/2021, 8:31 PMArtyom Degtyarev [JB]
01/28/2021, 7:48 AMlibate.dylib
presented in the ninth one. This is not the best source, but it made me think that maybe Kotlin/Native does not support some iOS version at the moment.
I’ve found this answer, telling that Apple added libate only with iOS 10. Not sure why Kotlin/Native framework depends on it, probably worth an issue at kotl.in/issue
Also there is a thread with some devices list, not sure how relevant is it:
https://stackoverflow.com/questions/41916922/which-ios-devices-dont-support-astc-texture-compressionFrancis Mariano
01/28/2021, 10:49 AM