Hello. I am trying to make a small simple multipla...
# multiplatform
i
Hello. I am trying to make a small simple multiplatform library. https://github.com/indrih17/teaco/blob/master/teaco-mpp/build.gradle.kts I had a problem that klib files for iOS are not generated when the publishToMavenLocal task starts, and there are no publishing tasks for iOS in Gradle tasks. Please tell me what I'm doing wrong, I've been struggling with this problem for two days now.
i
Hello! I've tried to publish the library from your project and the iOS klibs were built and published successfully. Could you run the build with
-i
flag and share a build log?
i
Thank you! The problem is that you're trying to run the build on a Linux machine while a Mac machine is requierd to build an iOS library:
Copy code
Some Kotlin/Native targets cannot be built on this linux_x64 machine and are disabled:
    * In project ':teaco-mpp':
        * targets 'ios', 'iosSim' (can be built with a macos_x64 host)
i
@ilya.matveev Can't I compile the ios version of the library and put it in maven without a MacBook?
i
Yes
i
Thank you so much