# Can't Package C++ Project

**URL:** <https://forums.unrealengine.com/t/cant-package-c-project/148226>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [July 28, 2020, 2:05pm UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226 "2020-07-28T14:05:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![siditious](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siditious](https://forums.unrealengine.com/u/siditious)\
**Post date:** [July 28, 2020, 2:05pm UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226/1 "2020-07-28T14:05:28Z")

</div>

I’m using 4.23.1 on Mac and am having some strange issues trying to package a game. I didn’t have any issues with packaging on 4.21 and my code is largely unchanged. I am packaging for shipping with distribution checked, and I’m getting the following error

“UATHelper: Packaging (Mac): ERROR: Missing precompiled manifest for ‘Settings’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in Settings.build.cs to override.  
PackagingResults: Error: Missing precompiled manifest for ‘Settings’. This module was most likely not flagged for being included in a precompiled build - set ‘PrecompileForTargets = PrecompileTargetsType.Any;’ in Settings.build.cs to override.”

This is the only error being thrown and PrecompileForTargets = PrecompileTargetsType.Any in Settings.build.cs , so the error doesn’t actually make sense.

If anyone has had experience with this I would love some help, I can’t really do anything at this point unfortunately.

---

<div class="post-metadata">

**Author:** ![adminnoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adminnoon](https://forums.unrealengine.com/u/adminnoon)\
**Post date:** [April 1, 2021, 2:03pm UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226/2 "2021-04-01T14:03:05Z")

</div>

Hi @siditious, did you find out how to solve it? It started happening to me after updating to 4.26.1. I can package without problems in 4.25, but not in 4.26 (even the same project) the moment any plugin is enabled. Without plugins, packaging success.  
Thanks,

---

<div class="post-metadata">

**Author:** ![Nodrev.Alsim1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nodrev.Alsim1](https://forums.unrealengine.com/u/Nodrev.Alsim1)\
**Post date:** [June 3, 2022, 3:54am UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226/3 "2022-06-03T03:54:25Z")

</div>

Had the same problem, and found the solution by checking the UE official plugins soure code. In your plugin’s “Build.cs”, remove references to “Settings” module from “PublicDependencyModuleNames” and/or “PrivateDependencyModuleNames”, and move it to “PublicIncludePathModuleNames” or “PrivateIncludePathModuleNames”.

---

<div class="post-metadata">

**Author:** ![NuLL3rr0r](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Post date:** [February 7, 2023, 10:58am UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226/4 "2023-02-07T10:58:52Z")

</div>

@Nodrev.Alsim1 thank you very much! It saved me a lot of time. It seems PrivateDependencyModuleNames or PublicDependencyModuleNames work on UE 5.0 but not 4.27. Your solution made it work on 4.27 and 5.0 for me and it passes RunUAT builds. Though for 5.1 there seems to be [this issue](https://forums.unrealengine.com/t/5-1-missing-precompiled-manifest-error-when-building-code-plugin-for-android/691983) and PrivateIncludePathModuleNames does not resolve it.

---

<div class="post-metadata">

**Author:** ![frankiezafe](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frankiezafe/32/732708_2.png) [@frankiezafe](https://forums.unrealengine.com/u/frankiezafe)\
**Post date:** [January 30, 2024, 11:12am UTC](https://forums.unrealengine.com/t/cant-package-c-project/148226/5 "2024-01-30T11:12:00Z")

</div>

thank you a lot! it saved my day
