4.24: installed build ios fails bcz of ¨Unable to find valid certificate/mobile provision pair¨

my cmd:
[TABLE]

/Users/xxxx/Desktop/xxxxxx4.24/Engine/Build/BatchFiles/RunUAT.command BuildGraph -target=“Make Installed Build Mac” -script=Engine/Build/InstalledEngineBuild.xml -set:WithWin64=false -set:WithWin32=false -set:WithMac=false -set:WithAndroid=false -set:WithLumin=false -set:WithIOS=true -set:WithTVOS=false -set:WithLinux=false -set:WithLinux=false -set:WithDDC=false -set:WithSwitch=false -set:HostPlatformOnly=false -set:HostPlatformEditorOnly=false -set:AllPlatforms=false -set:WithLinuxAArch64=false -set:WithPS4=false -set:WithXboxOne=false -set:WithLuminMac=false -set:WithHoloLens=false -set:WithClient=false -set:WithServer=false -set:HostPlatformDDCOnly=false -set:SignExecutables=false -set:EmbedSrcSrvInfo=false -set:GameConfigurations=“DebugGame;Development;Shipping” -set:WithFullDebugInfo=false -set:AnalyticsTypeOverride=“”

		the important part of log:

[QUOTE]
****** [4/8] Compile UE4Game IOS

		........
		....................

		[109/113] Compile Module.Engine.26_of_45.cpp

		[110/113] sh /Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/UE4Game-IOS-DebugGame

		[111/113] xcrun actool --output-format human-readable-text --notices --warnings --output-partial-info-plist '/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Intermediate/IOS/Resources/assetcatalog_generated_info.plist' --app-icon AppIcon --product-type com.apple.product-type.application --target-device iphone --target-device ipad --minimum-deployment-target 10.0 --platform iphoneos --enable-on-demand-resources YES --compile '/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app' '/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Intermediate/IOS/Resources/Assets.xcassets'

		2020-03-22 17:43:35.672 ibtoold[3172:43044] DEBUG: Added to environment: {

		TMPDIR = "/var/folders/g8/66_f4ml524n9ptq42rl6r01c0000gp/T/EF80484E-2880-47F6-869F-6DA505C7F127";

		}

		/* com.apple.actool.document.notices */

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Intermediate/IOS/Resources/Assets.xcassets:./AppIcon.appiconset/][ipad][76x76]]][1x]]]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.

		/* com.apple.actool.compilation-results */

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon20x20@2x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon20x20@3x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon29x29@2x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon29x29@3x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon40x40@2x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon40x40@3x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon60x60@2x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon60x60@3x.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon20x20~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon20x20@2x~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon29x29~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon29x29@2x~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon40x40~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon40x40@2x~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon76x76~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon76x76@2x~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/AppIcon83.5x83.5@2x~ipad.png

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Binaries/IOS/Payload/UE4Game.app/Assets.car

		/Users/ahsan/Desktop/UnrealEngineKJ4.24/Engine/Intermediate/IOS/Resources/assetcatalog_generated_info.plist



		[112/113] UnrealBuildTool.exe Executing PostBuildSync

		Generating and uploading Crashlytics Data

		ERROR: Unable to find valid certificate/mobile provision pair.

		Took 316.853374s to run mono, ExitCode=5

noticeable part is :

ERROR: Unable to find valid certificate/mobile provision pair

what i have to do to provide valid certificate ?

i never had to provide valid certificate for installed build of ios in 4.21 or prior engine versions

Hi,
I hope you’ve solved this issue already, but if it’s not you need to adjust InstalledEngineBuild.xml a bit.
This error appears on ipa stub creation, so you need to disable it and engine generation procedure will not require profiles anymore.
For the stock version of Engine\Build\InstalledEngineBuild.xml this instruction appears at 428 and 443 lines - simply remove ‘-createstub’ flag and all will be good:



                    <Compile Target="$(Target)" Platform="IOS" Configuration="$(Configuration)" Tag="#UE4Game IOS" Arguments="-precompile **-createstub** $(TargetDebugInfoArg)" Clean="false"/>


replace with



                    <Compile Target="$(Target)" Platform="IOS" Configuration="$(Configuration)" Tag="#UE4Game IOS" Arguments="-precompile $(TargetDebugInfoArg)" Clean="false"/>


Regards,

2 Likes