Francis Mariano

    Francis Mariano

    1 year ago
    Hi guys again 🙂 I getting the following message after build and running based-arm32 shared code:
    dyld: 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 ok
    t

    Thomas Myrden

    1 year ago
    What device are you building on?
    Francis Mariano

    Francis Mariano

    1 year ago
    ipad 1srt generation (i kown, it is old)
    t

    Thomas Myrden

    1 year ago
    Hmmmm, the iPad gen 1 stopped at iOS 5.1.1
    I wasn't even dev'ing back in the iOS 5 days so I won't be much help here. I can't even begin to imagine the list of potential issues you could be having if you're attempting to target 5.1.1
    Francis Mariano

    Francis Mariano

    1 year ago
    sorry, Ipad Mini. It is at iOS 9.3
    t

    Thomas Myrden

    1 year ago
    Ah! Ok way more reasonable
    Artyom Degtyarev [JB]

    Artyom Degtyarev [JB]

    1 year ago
    Just a wild guess, but I’m looking at those two repos: ios9Headers, ios10Headers, and there is no
    libate.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-compression
    Francis Mariano

    Francis Mariano

    1 year ago
    Thank you @Artyom Degtyarev [JB] I will to open a issue in youtrack. In past I remember to test kotlin native with iOS 9.3 version and it worked like a charm, but very things must have changed from there.