Unable to package on the Mac in 4.18.2 for IOS

For the Mac, we have been unable to package since updating to 4.18.2. It will not recognize valid certificates and mobile provisions. Have you heard anything about 4.18.2 having this issue?

Our packaging in development and distribution ends with code signing errors. I know certificates, app IDs, and mobile provisions are all set up properly as 4.18.1 worked and my Windows packages fine. For testing, I removed all certificates from the Mac, deleted all provisions in the project folder, and cleared out the MobileProvisions folder within the user library. I then re-linked newly downloaded assets from Apple.com with the same result. Any thoughts on this?

Pak Log showing Error

Packaging (iOS): ********** PACKAGE COMMAND STARTED **********
[2017.12.12-20.46.27:918][378]UATHelper: Packaging (iOS): Package /Users/munzthomas/Desktop/MagicElf/MagicElf/MagicElf.uproject
[2017.12.12-20.46.33:231][394]UATHelper: Packaging (iOS): UPL Init: None
[2017.12.12-20.47.04:604][488]UATHelper: Packaging (iOS): Project: /Users/Shared/Epic Games/UE_4.18/Engine/MagicElf_IOS.xcworkspace
[2017.12.12-20.47.04:604][488]UATHelper: Packaging (iOS): Running: mono “/Users/Shared/Epic Games/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe” -XcodeProjectFiles -project="/Users/munzthomas/Desktop/MagicElf/MagicElf/MagicElf.uproject" -platforms=IOS -game -nointellisense -IOSdeployonly -ignorejunk -nocreatestub -NoHotReload
[2017.12.12-20.47.05:248][490]UATHelper: Packaging (iOS): Discovering modules, targets and source code for project…
[2017.12.12-20.47.19:277][532]UATHelper: Packaging (iOS): Writing project files… 0%50%100%
[2017.12.12-20.47.19:586][533]UATHelper: Packaging (iOS): Took 14.882324s to run mono, ExitCode=0
[2017.12.12-20.47.19:587][533]UATHelper: Packaging (iOS): Running: /usr/bin/env UBT_NO_POST_DEPLOY=true /usr/bin/xcrun xcodebuild build -workspace “/Users/Shared/Epic Games/UE_4.18/Engine/MagicElf_IOS.xcworkspace” -scheme ‘UE4’ -configuration “Shipping” -destination generic/platform=iOS -sdk iphoneos CODE_SIGN_IDENTITY=“iPhone Distribution: PULSE STUDIO” PROVISIONING_PROFILE_SPECIFIER=1b4955b8-48d9-48d7-a117-6d462b33186c
[2017.12.12-20.47.33:605][575]UATHelper: Packaging (iOS): Build settings from command line:
[2017.12.12-20.47.33:605][575]UATHelper: Packaging (iOS): CODE_SIGN_IDENTITY = iPhone Distribution: PULSE STUDIO
[2017.12.12-20.47.33:605][575]UATHelper: Packaging (iOS): PROVISIONING_PROFILE_SPECIFIER = 1b4955b8-48d9-48d7-a117-6d462b33186c
[2017.12.12-20.47.33:605][575]UATHelper: Packaging (iOS): SDKROOT = iphoneos11.2
[2017.12.12-20.47.33:605][575]UATHelper: Packaging (iOS):
[2017.12.12-20.47.44:910][609]UATHelper: Packaging (iOS): 2017-12-12 14:47:44.669 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Config/BaseEditorLayout.ini" failed, errno = 2
[2017.12.12-20.47.53:938][636]UATHelper: Packaging (iOS): 2017-12-12 14:47:53.889 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/alembic/houdini/SOP_AlembicIn/OPalembic/Object_1alembicarchive/Help" failed, errno = 2
[2017.12.12-20.47.54:246][637]UATHelper: Packaging (iOS): 2017-12-12 14:47:54.180 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/alembic/houdini/SOP_AlembicIn/OPalembic/Object_1alembicxform/Help" failed, errno = 2
[2017.12.12-20.48.05:577][671]UATHelper: Packaging (iOS): 2017-12-12 14:48:05.397 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/hdf5/tools/testfiles/tmulti-g.h5" failed, errno = 2
[2017.12.12-20.48.05:935][672]UATHelper: Packaging (iOS): 2017-12-12 14:48:05.738 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/hdf5/tools/testfiles/tnoddlfile.ddl" failed, errno = 2
[2017.12.12-20.48.06:910][675]UATHelper: Packaging (iOS): 2017-12-12 14:48:06.725 xcodebuild[19675:229226] +dataWithFirstBytes:1024 ofFile:"/Users/Shared/Epic Games/UE_4.18/Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/hdf5/tools/testfiles/twithddlfile.ddl" failed, errno = 2
[2017.12.12-20.48.20:606][716]UATHelper: Packaging (iOS): === BUILD TARGET UE4 OF PROJECT UE4 WITH CONFIGURATION Shipping ===
[2017.12.12-20.48.20:606][716]UATHelper: Packaging (iOS):
[2017.12.12-20.48.20:606][716]UATHelper: Packaging (iOS): Check dependencies
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): Code Signing Error: Provisioning profile “MagicElf_Dist” doesn’t include signing certificate “iPhone Distribution: PULSE STUDIO, LLC (QKEHAPHY6K)”.
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.2’
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS):
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): ** BUILD FAILED **
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS):
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS):
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): The following build commands failed:
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): Check dependencies
[2017.12.12-20.48.21:277][718]UATHelper: Packaging (iOS): (1 failure)
[2017.12.12-20.48.22:244][721]UATHelper: Packaging (iOS): Took 62.785428s to run env, ExitCode=65
[2017.12.12-20.48.22:244][721]UATHelper: Packaging (iOS): ERROR: CodeSign Failed
[2017.12.12-20.48.22:244][721]UATHelper: Packaging (iOS): (see /Users/munzthomas/Library/Logs/Unreal Engine/LocalBuildLogs/UAT_Log.txt for full exception trace)
[2017.12.12-20.48.22:244][721]UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=32 (Error_FailedToCodeSign)
[2017.12.12-20.48.22:575][721]UATHelper: Packaging (iOS): RunUAT ERROR: AutomationTool was unable to run successfully.
[2017.12.12-20.48.22:575][721]PackagingResults: Error: Failed to Code Sign

Any help would be appreciated on how to fix this.
Tom

Same issue here…
Any update?

The original error is pretty clear:


Code Signing Error: Provisioning profile "MagicElf_Dist" doesn't include signing certificate "iPhone Distribution: PULSE STUDIO, LLC (QKEHAPHY6K)".

If you’re getting the same error then go to the iOS QuickStart guide and follow the basic steps for setting up your project. Don’t skip any.