s

    Skolson5903

    2 years ago
    Anybody got
    kotlin("native.cocoapods")
    working on windows? I have Ruby and libcurl installed, and ruby installed cocoapods just fine, but when the plugin tries to use "gem" it fails. On windows it needs to run gem.bat instead, and I have no idea if there is any way to configure this in the plugin. As a test I took out the failing plugin and put this snippet in to verify that gradle can run the stuff, and it works:
    project.exec {
        println("ruby gem version")
        commandLine("gem.cmd", "-v")
    }
    project.exec {
        println("pod version")
        commandLine("pod.bat", "--version")
    }
    This displays on the gradle console during sync, So i know both would work if I could get the plugin to use them. I tried to cheat and make shortcuts to these, but that won't work either, so I'm curious if anyone else has it. Moving to linux is not a short-term option for me🙂 . Thanks in advance for any info
    In case it's useful here's what displays during sync from the snippets above:
    ruby gem version
    3.1.2
    pod version
    1.9.3
    s

    Sam

    2 years ago
    Mac and iOS development is only available on macOs platforms.
    s

    Skolson5903

    2 years ago
    My understanding was that basics like these utilities wok if ruby and libcurl are installeds, and the pod installed with gem, which all worked. See this link Using cocoapods on windows