# How to add a swift package dependency to a project. 

**URL:** <https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901>\
**Category:** Mobile\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [August 3, 2026, 4:03pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901 "2026-08-03T16:03:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 3, 2026, 4:03pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/1 "2026-08-03T16:03:40Z")

</div>

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](https://plugindomainsource/pluginpackage)

How do we include these dependencies in our project? We are still working in UE 5.7

Regards.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [August 6, 2026, 6:53pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/2 "2026-08-06T18:53:38Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 7, 2026, 7:49am UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/3 "2026-08-07T07:49:03Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [August 7, 2026, 7:54pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/4 "2026-08-07T19:54:45Z")

</div>

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]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 10, 2026, 12:56pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/5 "2026-08-10T12:56:38Z")

</div>

Hi Stéphane.

Thanks. Then we’ll try to embed the swift framework on the plugin and do a bridge class.

Regards.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![step\_jac\_eg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@step\_jac\_eg](https://forums.unrealengine.com/u/step_jac_eg)\
**Post date:** [August 10, 2026, 2:55pm UTC](https://forums.unrealengine.com/t/how-to-add-a-swift-package-dependency-to-a-project/2763901/6 "2026-08-10T14:55:19Z")

</div>

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]
