Hey guys has anyone run into an XCFramework built ...
# multiplatform
b
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
k
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?
b
That’s what I was using :/
I’ll post my current task in a bit
👍 1
k
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.
b
k
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.
b
Yep this solved it for us. :)
k
Nice. 👍