Hello,
Hope someone can shed some light on my problem.
I have a Mac ElCapitan set up with UE4 on along with XCODE and all the usual IOS Dev tools, I can run XCODE projects without any problem on device
when i create a project in UE4 and try to Build on device, or build .IPA and install with ITUNES, i get an error below.
Just before i post the error I am currently trying to use XCODE 7 provisioning, and cert as follows
And followed the procedure below word for word, found on UE4 Forum
With Xcode 7 it is possible to run and test your apps on a real device (not a simulator) without Apple Developer subscription (~$100). It even works with Unreal 4.8.
For a beta period you need the following:
• Current stable version of Xcode to compile your game (get Xcode 6.4 from the Mac App Store)
• Current beta version of Xcode 7 to generate certificates and provisioning
You can get Xcode 7 from Apple here Sign In - Apple (register a free Apple account first)
Steps:
- Connect an iOS device that you want to use for testing
- Start Xcode 7, create a new iOS project from a template (anything will do)
- Go to Xcode Preferences — Accounts and add your Apple account information
- Close Xcode Preferences, now on the Xcode toolbar set the Active Scheme (near the Stop button) to your app, and set the connected iOS device as a deployment target
- Select the root item in the Project Navigator on the left to open project settings, select your app target, select the General tab
- Change the Bundle Identifier in Xcode to the bundle identifier of your Unreal game (Unreal Project Settings — iOS — Bundle Information — Bundle Identifier)
- Ensure that the Team drop-down is set to your Apple account and click the Fix button under it
- Run the empty app once on the target device
- It will set certificates and provisioning just for this specific bundle identifier and just for the following selected device
- Stop the app, close Xcode and go back to Unreal with your game
ERROR LOG BELOW
LogPlayLevel: mono: [deploy] Created deployment server.
LogPlayLevel: mono: [DD] Trying to connect to mobile device running iOS …
LogPlayLevel: mono: [DD] Mobile Device ‘…’ connected
LogPlayLevel: mono: Device ‘…’ with id bfc59f033765e1d7441e6d16539d67f5eb983119 is being checked against bfc59f033765e1d7441e6d16539d67f5eb983119.
LogPlayLevel: mono: [DD] Transferring IPA to device ‘…’ …
LogPlayLevel: mono: [DD] … Transferred 6144 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 10240 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 15360 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 19456 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 24576 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 28672 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 33792 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 37888 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 43008 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 47104 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 52224 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 56320 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 61440 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 65536 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 70656 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 74752 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 79872 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 83968 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 89088 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 93184 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 98304 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 102400 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 106496 KB of 114591 KB
LogPlayLevel: mono: [DD] … Transferred 111616 KB of 114591 KB
LogPlayLevel: mono: … Finished copying to ‘PublicStaging/TESTIOS.ipa’ in 5.95 s
LogPlayLevel: mono: [DD] Installing IPA on device ‘…’ …
LogPlayLevel: mono: [DD] … Install is 5% complete at phase ‘CreatingStagingDirectory’
LogPlayLevel: mono: [DD] … Install is 15% complete at phase ‘ExtractingPackage’
LogPlayLevel: mono: [DD] … Install is 20% complete at phase ‘InspectingPackage’
LogPlayLevel: mono: [DD] … Install is 20% complete at phase ‘TakingInstallLock’
LogPlayLevel: mono: [DD] … Install is 30% complete at phase ‘PreflightingApplication’
LogPlayLevel: mono: [DD] … Install is 30% complete at phase ‘InstallingEmbeddedProfile’
LogPlayLevel: mono: [DD] … Install is 40% complete at phase ‘VerifyingApplication’
LogPlayLevel: mono: Install \ Update of “TESTIOS.ipa” failed with Application Verification Failed Error in 11.21 seconds
LogPlayLevel: mono: [DD]
LogPlayLevel: mono: Exiting.
LogPlayLevel: CommandUtils.Run: Run: Took 19.089961s to run mono, ExitCode=1
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Command failed (Result:1): /Users/Shared/UnrealEngine/4.11/Engine/Binaries/DotNET/IOS/DeploymentServer.exe Install -ipa “/Users/DSB/Documents/Unreal Projects/TESTIOS/Binaries/IOS/TESTIOS.ipa” -device bfc59f033765e1d7441e6d16539d67f5eb983119 -addit
ionalcommandline "-SessionId=CFA36EDBDB46E33E192A609D1BD77A13 -SessionOwner=“DSB” -SessionName=“Launch On Device” ". See logfile for details: ‘DeploymentServer-2016.04.11-19.50.20.txt’
LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog (System.String App, System.String CommandLine, System.String Logfile, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary2 EnvVars) [0x00000] in <filename unknown>:0 LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog (AutomationTool.CommandEnvironment Env, System.String App, System.String CommandLine, System.String LogName, Int32 MaxSuccessCode, System.String Input, ERunOptions Options, System.Collections.Generic.Dictionary
2 EnvVars) [0x00000] in <filename unknown>:0
LogPlayLevel: at IOSPlatform.Deploy (AutomationTool.ProjectParams Params, DeploymentContext SC) [0x00000] in <filename unknown>:0
LogPlayLevel: at Project.Deploy (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
LogPlayLevel: at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in <filename unknown>:0
LogPlayLevel: at BuildCookRun.ExecuteBuild () [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.BuildCommand.Execute () [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.Automation.Execute (System.Collections.Generic.List1 CommandsToExecute, Tools.DotNETCommon.CaselessDictionary.CaselessDictionary
1 Commands) [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.Automation.Process (System.String] CommandLine) [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.Program.MainProc (System.Object Param) [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance (System.Func`2 Main, System.Object Param) [0x00000] in <filename unknown>:0
LogPlayLevel: at AutomationTool.Program.Main () [0x00000] in <filename unknown>:0
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 29.353864
LogPlayLevel: RunUAT ERROR: AutomationTool was unable to run successfully.
PackagingResults:Error: Error Launch failed! Unknown Error
I have tied the Google with no help, and loosing the plot now, Many thanks in advance