IOS Packaging : keyset does not exist

Hello,

I’ve spent the last hours trying to package on pc without success. For now I am not even trying to package my project itself, I’ve been doing tests on an empty blueprint project in 4.19 with only an empty map in the content folder.

However every time I try to package I end up with the error “Keyset does not exist”. I tried multiple times to delete both certificate and provisions and try again in case either was corrupt, but without any luck.

I have no idea what to try next and every information I found searching on internet brought me nowhere.

If anyone has any input, I would be very grateful.

Thank you.

So, I tried to go through the whole process once more, starting from scratch with a new account (realized Apple was using the ë in my name and thought it could be a problem). In the end same result.

I also tried importing the certificate directly in the manager, but there again it did nothing.

Hello, still need help with that problem.
Thank you.

I tried once more with 4.20, and now it works.

I had the same problem.
I was helped by the third step from this site: Service failure with CryptographicException - Keyset does not exist | Microsoft Docs
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 will 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.