# Remote iOS build failed for Distribution

**URL:** <https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909>\
**Category:** Mobile\
**Tags:** remote, build, unreal-engine, iOS, question\
**Created:** [January 8, 2019, 11:34pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909 "2019-01-08T23:34:23Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatzeOGH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MatzeOGH](https://forums.unrealengine.com/u/MatzeOGH)\
**Post date:** [January 8, 2019, 11:34pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/1 "2019-01-08T23:34:23Z")

</div>

Development Builds work perfectly fine but it failes for distribution.

```
Code Signing Error: Provisioning profile "DistProv" doesn't match the entitlements file's value for the get-task-allow entitlement.
UATHelper: Packaging (iOS): Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 12.1'

```

Unreal 4.21.1  
Mac 10.14  
XCode 10.1

---

<div class="post-metadata">

**Author:** ![delcasda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@delcasda](https://forums.unrealengine.com/u/delcasda)\
**Post date:** [February 11, 2019, 4:10am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/2 "2019-02-11T04:10:04Z")

</div>

same here

---

<div class="post-metadata">

**Author:** ![gstyczen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gstyczen](https://forums.unrealengine.com/u/gstyczen)\
**Post date:** [February 11, 2019, 4:33pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/3 "2019-02-11T16:33:13Z")

</div>

The same:

UATHelper: Packaging (iOS): Code Signing Error: Provisioning profile “xxx” doesn’t match the entitlements file’s value for the get-task-allow entitlement.  
UATHelper: Packaging (iOS): Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 12.1’  
PackagingResults: Error: Provisioning profile “xxx” doesn’t match the entitlements file’s value for the get-task-allow entitlement.  
PackagingResults: Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 12.1’  
UATHelper: Packaging (iOS):

---

<div class="post-metadata">

**Author:** ![delcasda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@delcasda](https://forums.unrealengine.com/u/delcasda)\
**Post date:** [February 19, 2019, 2:18am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/4 "2019-02-19T02:18:07Z")

</div>

I solved it by using the Project Launcher:

Create a new profile and first select to build for shipping, on build section and cook everything. This will fail again with same message but next time just uncheck “Do you wish to build?” but keep checked “is this build for distribution to the public?”  
Also on Cooking - \>“Cooker build configuration” select “Shipping”. Note the project launcher get some settings from the main project settings such the provision file and Certificate. This time it will finish the packaging . I fact when playing around with the settings from project launcher I was able to create a “Shipping” IPA with a developer certificate but of course the Application loader rejected it later on.

---

<div class="post-metadata">

**Author:** ![Vraelir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vraelir](https://forums.unrealengine.com/u/Vraelir)\
**Post date:** [February 19, 2019, 10:58am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/5 "2019-02-19T10:58:17Z")

</div>

This did not work for me, I end up with the following error when trying to run the second configuration you’re talking about:

`\*\*\*\*\*\*\*\*\*\* STAGE COMMAND STARTED \*\*\*\*\*\*\*\*\*\*

ERROR: Stage Failed. Missing receipt ‘D:[PROJECTFOLDER]\Binaries\IOS[PROJECTNAME]-Shipping.target’. Check that this target has been built.  
`

If you could more clearly detail the exact settings you use on the launcher each time, that would be helpful.

---

<div class="post-metadata">

**Author:** ![Vraelir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vraelir](https://forums.unrealengine.com/u/Vraelir)\
**Post date:** [February 19, 2019, 11:03am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/6 "2019-02-19T11:03:36Z")

</div>

Same problem here:

UATHelper: Packaging (iOS): Code Signing Error: Provisioning profile “iOS Distribution VJB” doesn’t match the entitlements file’s value for the get-task-allow entitlement.  
UATHelper: Packaging (iOS): Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 12.1’

---

<div class="post-metadata">

**Author:** ![delcasda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@delcasda](https://forums.unrealengine.com/u/delcasda)\
**Post date:** [February 19, 2019, 4:45pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/7 "2019-02-19T16:45:55Z")

</div>

you first must force built everything, it will fail with the get-task-allow then , uncheck and try again. I will post some pictures and detail later

---

<div class="post-metadata">

**Author:** ![Vraelir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vraelir](https://forums.unrealengine.com/u/Vraelir)\
**Post date:** [February 20, 2019, 11:09am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/8 "2019-02-20T11:09:20Z")

</div>

catalinux’s solution on [this post](https://answers.unrealengine.com/questions/604068/automatic-signing-is-unable-to-resolve-an-issue-wi.html) worked for me.

Seemingly in 4.21, the editor is hardcoded to fail when trying to do a remote build package for iOS. The solution is to edit the code as described in catalinux’s answer, but obviously that means you have to be [using a version of the engine built from source](https://docs.unrealengine.com/en-US/GettingStarted/DownloadingUnrealEngine), otherwise your code edits will have no effect.

---

<div class="post-metadata">

**Author:** ![CWolf93](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CWolf93](https://forums.unrealengine.com/u/CWolf93)\
**Post date:** [March 3, 2019, 7:16am UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/9 "2019-03-03T07:16:03Z")

</div>

Can you post the steps? I’m still struggling with this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1af62794](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1af62794](https://forums.unrealengine.com/u/anonymous_user_1af62794)\
**Post date:** [September 29, 2019, 10:48pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/10 "2019-09-29T22:48:57Z")

</div>

Hi Vraelir.

There was no need to get the engine from source. You could open the UnrealBuildTool project from program files and recompile. The binary will be overwritten. I modify the installed .NET projects from UE all the time.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_d51206661](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_d51206661](https://forums.unrealengine.com/u/anonymous_user_d51206661)\
**Post date:** [September 29, 2021, 3:11pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/11 "2021-09-29T15:11:38Z")

</div>

Make sure that you checked “For Distribution”.

Had the same error and it was gone after ticking the option.

 ![349599-screenshot-2021-09-29-at-180807.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/a/eaa5df504a665d3267dc5010d2cbbd0d3753b3d3.png)

---

<div class="post-metadata">

**Author:** ![Rama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rama/32/882413_2.png) [@Rama](https://forums.unrealengine.com/u/Rama)\
**Post date:** [March 13, 2024, 6:33pm UTC](https://forums.unrealengine.com/t/remote-ios-build-failed-for-distribution/440909/12 "2024-03-13T18:33:46Z")

</div>

> [@anonymous\_user\_d51206661](#):
>
> Make sure that you checked “For Distribution”.
> 
> Had the same error and it was gone after ticking the option.
> 
> ![349599-screenshot-2021-09-29-at-180807.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/a/a/eaa5df504a665d3267dc5010d2cbbd0d3753b3d3.png)

❤ This worked for me too! 💖

❤

Rama
