x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Packaging error for distribution IOS

Hello everyone,

I'm currently wraping up my game and trying to pack it for distribution without success.

This is a 4.21 project with blueprints only.

I have no problem packing the project for development and even a couple of month ago I was able to create a distribution build.

Just to double check everything, I recreated my certificates, provisions , private keys and made sure that the keys were in system in the keychain Access.

With the new certificates, I don't have any issues building for development but again it doesn't work for distribution. I found a post explaining that changing a line of code in UEDeployIOS file could fix it but still it doesn't work.

here is a link to the post : https://issues.unrealengine.com/issue/UE-70358

this is part of the log that I get when it fails:

UATHelper: Packaging (iOS): Code Signing Error: Provisioning profile "APPNAMEDistri" doesn't match the entitlements file's value for the get-task-allow entitlement. PackagingResults: Error: Provisioning profile "APPNAMEDistri" 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: Code signing is required for product type 'Application' in SDK 'iOS 12.1' UATHelper: Packaging (iOS): UATHelper: Packaging (iOS): ** BUILD FAILED ** UATHelper: Packaging (iOS): UATHelper: Packaging (iOS): UATHelper: Packaging (iOS): The following build commands failed: UATHelper: Packaging (iOS): Check dependencies UATHelper: Packaging (iOS): (1 failure) UATHelper: Packaging (iOS): ERROR: System.Exception: ** BUILD FAILED ** UATHelper: Packaging (iOS): at UnrealBuildTool.IOSToolChain.PostBuildSync (UnrealBuildTool.UEBuildTarget Target) [0x00000] in :0 UATHelper: Packaging (iOS): at UnrealBuildTool.IOSPlatform.PostBuildSync (UnrealBuildTool.UEBuildTarget Target) [0x00000] in :0 UATHelper: Packaging (iOS): at UnrealBuildTool.UnrealBuildTool.RunUBT (UnrealBuildTool.BuildConfiguration BuildConfiguration, System.String[] Arguments, Tools.DotNETCommon.FileReference ProjectFile, Boolean bCatchExceptions) [0x00000] in :0 UATHelper: Packaging (iOS): (see C:\Users\Oliv\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-APPNAME-IOS-Shipping_2_Remote.txt for full exception trace) PackagingResults: Error: System.Exception: ** BUILD FAILED ** UATHelper: Packaging (iOS): Total build time: 106.49 seconds (Local executor: 54.73 seconds) UATHelper: Packaging (iOS): [Remote] Downloading C:\Users\Oliv\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-APPNAME-IOS-Shipping_2_Remote.txt UATHelper: Packaging (iOS): Took 163.7240628s to run UnrealBuildTool.exe, ExitCode=7 UATHelper: Packaging (iOS): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\Oliv\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-APPNAME-IOS-Shipping_2.txt) UATHelper: Packaging (iOS): (see C:\Users\Oliv\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\Log.txt for full exception trace) PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users\Oliv\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.21\UBT-APPNAME-IOS-Shipping_2.txt) UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=7 (7) UATHelper: Packaging (iOS): BUILD FAILED PackagingResults: Error: Unknown Error

If someone could point me to what I'm doing wrong it would be great.

Thanks in advance,

Olivier

Product Version: UE 4.21
Tags:
more ▼

asked Mar 18 '19 at 08:46 PM in Packaging & Deployment

avatar image

Varte
6 1 2 3

avatar image patrick58d Mar 19 '19 at 08:02 PM

I am having the same problem. And in fact I downloaded and build the source from the commit with the fix listed (from https://issues.unrealengine.com/issue/UE-70358) and I am still have the exact same issue.

avatar image Varte Mar 19 '19 at 08:09 PM

I hear you Patrick,

I should also mentioned that I use remote building as I'm working on windows and this morning after going again through the process of recreating every single certificates and private keys in keychain, the problem remains. The certificate are set up to "Always trust" and are valid. Again I can use the development certificate without a problem but when switching to distribution it fails. It used to work in December and I build a dozen of the same project for distribution without a problem. I'm running out of ideas on what to do I have to say.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Anyone could help with that?

more ▼

answered Mar 31 '19 at 03:54 PM

avatar image

Varte
6 1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question