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 : Unreal Engine Issues and Bug Tracker (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