# UE 5 - build as framework for XCode

**URL:** <https://forums.unrealengine.com/t/ue-5-build-as-framework-for-xcode/502313>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, UE5-0\
**Created:** [February 26, 2022, 10:18am UTC](https://forums.unrealengine.com/t/ue-5-build-as-framework-for-xcode/502313 "2022-02-26T10:18:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_313590de](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_313590de](https://forums.unrealengine.com/u/anonymous_user_313590de)\
**Post date:** [February 26, 2022, 10:18am UTC](https://forums.unrealengine.com/t/ue-5-build-as-framework-for-xcode/502313/1 "2022-02-26T10:18:30Z")

</div>

In UE 5, there is an option to “ build the iOS project as a framework”

```auto
> <member name="F:UnrealBuildTool.IOSProjectSettings.bBuildAsFramework">
> <summary>
> Whether to build the iOS project as a framework.
> </summary>
> </member>
> <member name="F:UnrealBuildTool.IOSProjectSettings.bGenerateFrameworkWrapperProject">
> <summary>
> Whether to generate a native Xcode project as a wrapper for the framework.
> </summary>
> </member>

```

How would this work on XCode? Is there any example on how I can build it as a framework and then integrate with SwiftUI?

Thanks!

---

<div class="post-metadata">

**Author:** ![iamadman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iamadman](https://forums.unrealengine.com/u/iamadman)\
**Post date:** [October 15, 2025, 3:40pm UTC](https://forums.unrealengine.com/t/ue-5-build-as-framework-for-xcode/502313/2 "2025-10-15T15:40:59Z")

</div>

I have the same problem(requirements).
