# IOS package Fail 4.7.6

**URL:** <https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081>\
**Category:** Mobile\
**Tags:** Packaging-Failed, unreal-engine, iOS, fail, deploy, question\
**Created:** [May 29, 2015, 5:10am UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081 "2015-05-29T05:10:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heim\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heim\_1](https://forums.unrealengine.com/u/Heim_1)\
**Post date:** [May 29, 2015, 5:10am UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081/1 "2015-05-29T05:10:13Z")

</div>

Hello. Packaging on my IOS device is failing all the time even with simplest template project. Provision and Certificate are shown as green, so i suppose they are fine. Please help me understand where is the problem. Log and screenshot of my certificate and provision in attachment. link text

---

<div class="post-metadata">

**Author:** ![Ravlek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravlek](https://forums.unrealengine.com/u/Ravlek)\
**Post date:** [May 29, 2015, 1:59pm UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081/2 "2015-05-29T13:59:36Z")

</div>

LogPlayLevel: IPhonePackager: … Processing one mach object (binary is thin)  
LogPlayLevel: IPhonePackager: … Initial signature step (0.41 s elapsed so far)  
LogPlayLevel: IPhonePackager: IPP ERROR: Application exception: System.Security.Cryptography.CryptographicException: Keyset does not exist

So the “Keyset does not exist” error seems to imply you don’t have the security permissions to sign with the certificate that we determined was the best match. Can you verify that you have the permissions on your PC for that certificate? You can run certmgr from a Command prompt to access the certificate manager on your PC.

-Pete

---

<div class="post-metadata">

**Author:** ![Heim\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Heim\_1](https://forums.unrealengine.com/u/Heim_1)\
**Post date:** [May 29, 2015, 4:52pm UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081/3 "2015-05-29T16:52:26Z")

</div>

Thanks for your help Pete, it was a problem in certificate, i just reinstalled the certificate and it successfully deployed.

---

<div class="post-metadata">

**Author:** ![Ravlek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ravlek](https://forums.unrealengine.com/u/Ravlek)\
**Post date:** [May 29, 2015, 6:31pm UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081/4 "2015-05-29T18:31:52Z")

</div>

Glad it was sorted for you. I’ll see about adding some better error messaging in a future.

-Pete

---

<div class="post-metadata">

**Author:** ![RapidBlaze](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rapidblaze/32/469605_2.png) [@RapidBlaze](https://forums.unrealengine.com/u/RapidBlaze)\
**Post date:** [February 18, 2019, 3:02pm UTC](https://forums.unrealengine.com/t/ios-package-fail-4-7-6/320081/5 "2019-02-18T15:02:28Z")

</div>

I had the same problem.  
I was helped by the third step from this site: [https://blogs.msdn.microsoft.com/dsn...oes-not-exist/](https://blogs.msdn.microsoft.com/dsn...oes-not-exist/)  
The problem is that when importing a certificate, UE4 launches iPhonePackager on behalf of the current user. If the user does not have administrator rights, then he cannot write the keys to the folder C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys.  
You need to provide full access to that user on the folder “C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys”.  
After that you need to reimport the certificate.
