# Static library not add in ipa

**URL:** <https://forums.unrealengine.com/t/static-library-not-add-in-ipa/211353>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [April 2, 2021, 1:33pm UTC](https://forums.unrealengine.com/t/static-library-not-add-in-ipa/211353 "2021-04-02T13:33:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cektantwork](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cektantwork/32/717411_2.png) [@Cektantwork](https://forums.unrealengine.com/u/Cektantwork)\
**Post date:** [April 2, 2021, 1:33pm UTC](https://forums.unrealengine.com/t/static-library-not-add-in-ipa/211353/1 "2021-04-02T13:33:06Z")

</div>

When i use

PublicAdditionalLibraries.Add

in Build.cs, static library (files .a) not add in ipa and not change file size. What i must add that it will work? Ue4 not any warning in compiled process.

---

<div class="post-metadata">

**Author:** ![iSinSlayer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iSinSlayer](https://forums.unrealengine.com/u/iSinSlayer)\
**Post date:** [February 26, 2023, 11:28am UTC](https://forums.unrealengine.com/t/static-library-not-add-in-ipa/211353/2 "2023-02-26T11:28:38Z")

</div>

For future readers, There’s no point in including static library in the IPA since it’s static, so the library is already compiled in the source itself.  
Also, you wont be able to upload the IPA to the App Store.  
Anyway, if you still wish to include the .a, you can use

```auto
RuntimeDependencies.Add(
#if !UE4.19 or later
    new RuntimeDepedency(
#endif
        Path.combine(/*path to .a*/)
#if !UE4.19 or later
    )
#endif
);

```
