# Error packing project - Directory NotFoundException

**URL:** <https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668>\
**Category:** Platform & Builds\
**Tags:** error, unknown, unreal-engine, packaging-projects, question\
**Created:** [April 12, 2017, 6:33am UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668 "2017-04-12T06:33:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 12, 2017, 6:33am UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668/1 "2017-04-12T06:33:59Z")

</div>

So I’m trying to package a demo of my game. I duplicated my project, changed the name by appending DEMO after and made the necessary adjustments to my content so the demo only includes one level. Everything works fine until it comes time to package the project. The packaging ends with “Uknown Error” and when I look at the output log and show only messages and then filter for the word error I get the following messages:

```
MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 89.743ms to complete.
LogTemp:Display: IPP ERROR: Application exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\PeterComp\AppData\Local\Apple Computer\MobileDevice\Provisioning Profiles'.
LogTemp:Display: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.ArgumentException: An item with the same key has already been added.
ble`1 Distribution, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 RunAssetNativization, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, String Provision, String Certificate, ParamList`1 InMapsToRebuildLightMaps, Pa
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

```

The weird this is that the first error “DirectoryNotFoundException” is mentioning something to do with Apple and MobileDevice but I’m packaging for Windows X64.

Also there’s the message “An item with the same key has already been added”. I thought this was referring to the ProjectID that is generated but I’ve generated several new ones and nothing helps.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [April 12, 2017, 7:47am UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668/2 "2017-04-12T07:47:55Z")

</div>

Oh, I finally got it working. I deleted the Intermediate and Saved folders in my project directory and it packaged fine after that. Very strange but hey, it works so I’m happy.

---

<div class="post-metadata">

**Author:** ![oneforall](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oneforall](https://forums.unrealengine.com/u/oneforall)\
**Post date:** [May 15, 2018, 2:03pm UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668/3 "2018-05-15T14:03:30Z")

</div>

The same for me it solved the problem

---

<div class="post-metadata">

**Author:** ![Arty-McLabin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arty-mclabin/32/1012076_2.png) [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Post date:** [August 7, 2019, 7:51am UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668/4 "2019-08-07T07:51:48Z")

</div>

> The same for me it solved the problem

very useful answer

---

<div class="post-metadata">

**Author:** ![MattSowards](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MattSowards](https://forums.unrealengine.com/u/MattSowards)\
**Post date:** [September 8, 2020, 4:55pm UTC](https://forums.unrealengine.com/t/error-packing-project-directory-notfoundexception/390668/5 "2020-09-08T16:55:18Z")

</div>

did not solve for me, i deleted folders yet i cant build any new project or any at all? same error please help
