Remote iOS build failed for Distribution

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

same here

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):

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.

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.

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’

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

catalinux’s solution on this post 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, otherwise your code edits will have no effect.

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

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.

Make sure that you checked “For Distribution”.

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

5 Likes

:heart: This worked for me too! :sparkling_heart:

:heart:

Rama