Hi!
I’m trying to figure out how to debug my game when running it on an iPhone. I’m a bit confused about the needed steps and the errors I’m getting.
-
“Launch” from the Editor works fine, it runs the game.
-
In XCode, i selected MyProject -> Edit Scheme -> Run, and changed the build configuration to “Debug”. Is this the correct thing to do in order to launch to the device?
-
Now I can select my iPhone as target next to the project name in the toolbar
-
When I click the play button in the toolbar, it seems to build succesfully, but gives the error “MyProject-Mac-Debug.app” couldn’t be opened because there is no such file. Looks like it is trying to run a Mac executable…?
-
Also I’m a bit confused about Cooking: in the Editor, there is “Cook content for Mac”. Is this for actually running the game on the Mac, or is it useful for running on iOS too? Or is cooking strictly necessary at all, if all I want is to debug on iOS? When i try to run the “Cook content for Mac”, it gives an “Missing UE4Game binary” error dialog.
Thanks for any help!