# Does UE4 not support iOS dynamic framework in the future?

**URL:** <https://forums.unrealengine.com/t/does-ue4-not-support-ios-dynamic-framework-in-the-future/428505>\
**Category:** Mobile\
**Tags:** unreal-engine, framework, iOS, linking, dynamic, question\
**Created:** [July 2, 2018, 5:15am UTC](https://forums.unrealengine.com/t/does-ue4-not-support-ios-dynamic-framework-in-the-future/428505 "2018-07-02T05:15:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangpan\_On](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sangpan\_On](https://forums.unrealengine.com/u/sangpan_On)\
**Post date:** [July 2, 2018, 5:15am UTC](https://forums.unrealengine.com/t/does-ue4-not-support-ios-dynamic-framework-in-the-future/428505/1 "2018-07-02T05:15:30Z")

</div>

UE4 still not support the iOS dynamic framework until 4.20.PV

Clearly static framework is supported well.

There is some example on unreal engine.

* * *

Unreal engine is impossible to support dynamic framework?

I didn’t found information or hint about linking dynamic framework on Unreal build tool.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b5b187bd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b5b187bd](https://forums.unrealengine.com/u/anonymous_user_b5b187bd)\
**Post date:** [April 16, 2019, 10:41am UTC](https://forums.unrealengine.com/t/does-ue4-not-support-ios-dynamic-framework-in-the-future/428505/2 "2019-04-16T10:41:51Z")

</div>

I tried it for two days and found a solution. for your reference.

First.Add All files in FrameWork use RuntimeDependencies

```
            RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "lib/IOS/libdynamic.framework/libdynamic"), UnrealBuildTool.StagedFileType.SystemNonUFS);
            RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "lib/IOS/libdynamic.framework/Info.plist"), UnrealBuildTool.StagedFileType.SystemNonUFS);
            RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "lib/IOS/libdynamic.libdynamic/_CodeSignature/CodeResources"), UnrealBuildTool.StagedFileType.SystemNonUFS);
            RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "lib/IOS/libdynamic.framework/Headers/G6DebugAnyWhereInterface.h"), UnrealBuildTool.StagedFileType.SystemNonUFS);

```

then it will copy to bundle root. But the directory name is the project name and will conflict with the executable file.  
so modify DefaultGamei.ini

```
[Staging]
 +RemapDirectories=(From="ModuleDirectory/Plugin/lib/IOS", To="FrameWork")

```

then the file will package in bundle/FrameWork
