Hi!
We are working on a multiplatform project, that include mobile platforms support. Now, we are integrating some third party plugins for iOS, and they need to include some remote swift package dependencies that must be obtained from the third party servers as a external dependency for Xcode, so, to include them, we only have the dependency url
https://plugindomainsource/pluginpackage
How do we include these dependencies in our project? We are still working in UE 5.7
Regards.
[Attachment Removed]
Hi Emilio,
UE doesn’t currently support this, however, it is on our radar. Does adding it directly to the main project’s Xcode project and building from there serve as a workaround for you?
Best regards.
[Attachment Removed]
Hi Stéphane.
That will be awesome. Is there any way to do this using a config file, the Automation Tool or the build graph? The third party package is in the form of a .xcframework.
By the way, this is intended to be included through a plugin, not in the main .ueproject directly.
Regards.
[Attachment Removed]
Hi Emilio,
A solution to this need would be driven by the build graph and project generation. I don’t believe there is a simple workaround to get this working with UBT/GPF in their current state but if we find something, we will let you know.
Best regards.
[Attachment Removed]
Hi Stéphane.
Thanks. Then we’ll try to embed the swift framework on the plugin and do a bridge class.
Regards.
[Attachment Removed]
Hi Emilio,
Yes that would work as an alternative if you are able to obtain a local copy of the Swift framework. MarketplaceKitWrapper in the engine provides an example of how to do that.
Best regards.
[Attachment Removed]