# Switching between iOS development and distribution certificates in Unreal Engine

**URL:** <https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [November 26, 2021, 3:38am UTC](https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766 "2021-11-26T03:38:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Brewer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Brewer](https://forums.unrealengine.com/u/John_Brewer)\
**Post date:** [November 26, 2021, 3:38am UTC](https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766/1 "2021-11-26T03:38:03Z")

</div>

I’ve got Unreal Engine 4.26.2 building my app successfully using my iOS developer certificate and my iOS distribution certificate. However, I currently have to manually switch certificates (in Project Settings / iOS) when switching between developing and producing a build for the app store. Is there a way to automate this, so when I’m doing a final build Unreal will automatically use the distribution certificate?

Thanks!

---

<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:** [December 2, 2021, 9:37am UTC](https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766/2 "2021-12-02T09:37:36Z")

</div>

I’m not sure what I understood. if you want use develop sertificat for deploy in mobile you use develop sertificat, if you want testing in test flight or realse app ( for it you must add app in test flight) you use distribution sertificate.

---

<div class="post-metadata">

**Author:** ![John\_Brewer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Brewer](https://forums.unrealengine.com/u/John_Brewer)\
**Post date:** [December 4, 2021, 8:26am UTC](https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766/3 "2021-12-04T08:26:06Z")

</div>

I guess I’d like to be able to have a different certificate/key pair for each of the different build configurations (DebugGame, Development, and Shipping).

Really all I need is a different certificate/key pair for the Shipping build configuration, so it always uses my distribution certificate.

Right now I do this manually (by switching to the distribution certificate in the Project Settings → Platforms - iOS). I’d prefer it was done for me automatically when I switch to Shipping.

---

<div class="post-metadata">

**Author:** ![TrueFranco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/truefranco/32/1095055_2.png) [@TrueFranco](https://forums.unrealengine.com/u/TrueFranco)\
**Post date:** [December 24, 2021, 7:48pm UTC](https://forums.unrealengine.com/t/switching-between-ios-development-and-distribution-certificates-in-unreal-engine/262766/4 "2021-12-24T19:48:31Z")

</div>

If you add both certificate to Unreal in iOS settings, I`m almost pretty convinced Unreal will choose the correct one when you compile your game.
