Thread
#multiplatform
    brandonmcansh

    brandonmcansh

    1 year ago
    Hey guys has anyone run into an XCFramework built not able to run on an actual iOS device when generating swift package
    worked around it by supplying a fat jar it seems
    Kartik Prakash

    Kartik Prakash

    1 year ago
    I will be doing something similar soon on my project but yeah was thinking to publish fat framework using:https://github.com/ge-org/multiplatform-swiftpackage
    @brandonmcansh are you using any plugin for publication?
    brandonmcansh

    brandonmcansh

    1 year ago
    That’s what I was using 😕
    I’ll post my current task in a bit
    Kartik Prakash

    Kartik Prakash

    1 year ago
    So I was finally able to try this out. I used the
    multiplatform-swiftpackage
    gradle plugin and generated a fat framework. Then created a new iOS project using xcode added the generated artifact from the gradle plugin as a framework and was able to use it. The only thing i’m not able to figure out is how to make my iOS app consume the my generated fat framework via a remote url.
    brandonmcansh

    brandonmcansh

    1 year ago
    Kartik Prakash

    Kartik Prakash

    1 year ago
    No problem. I’m doing same and was able to build a zip file and use it in a full native iOS project.
    well, I just noticed you had issues running on an actual device . I tested on simulators.
    brandonmcansh

    brandonmcansh

    1 year ago
    Yep this solved it for us. 😃
    Kartik Prakash

    Kartik Prakash

    1 year ago
    Nice. 👍