Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to Remote Compile Code Projects? 4.13 (iOS)

I'm running on Windows. 4.13 just released and it stated that

iOs/tvOS: Code projects are now supported in the Windows version of the binary version of UE4 with the Unreal Engine Launcher. (You do need a Mac somewhere to remote compile on)

I was wondering HOW can this be done on windows? What are the Step-By-Step instructions on Launch a Code Project on iOS from Windows? How do i remote compile from mac?

Product Version: UE 4.13
more ▼

asked Sep 02 '16 at 01:33 PM in Packaging & Deployment

avatar image

222 48 62 79

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I wrote this up on another question which should hopefully help: https://answers.unrealengine.com/questions/450714/how-to-setup-remote-build.html

more ▼

answered Sep 05 '16 at 12:00 AM

avatar image

275 14 20 30

avatar image gotgrassct Sep 14 '16 at 03:07 PM

When i press "Generate SSH Key" i get this error C:\Delta Copy\ ================================================================================ Connecting to as user nikoskipz to create an SSH Key. Please note the following: It may prompt you about "authenticity of host can't be established." You must enter yes It will then prompt your for your password on Finally it will ask your for a 'passphrase' for your new SSH key. Do NOT give it a passcode, just hit enter Hit enter again when prompted to confirm. ================================================================================ Press any key to continue . . . ssh: connect to host port 22: Connection timed out ================================================================================ Now we will connect again to to download the generated private key. You will have to enter your password again. The private key will be stored in: "C:\Users\nicho\AppData\Roaming"\Unreal Engine\UnrealBuildTool\SSHKeys\\nikoskipz\RemoteToolChainPrivate.key If you want to share this key with others on your team, copy the contents of SSHKeys directory to: ../../../Engine/\Build\SSHKeys and then put it into your source control. ================================================================================ Press any key to continue . . .

avatar image FacePalm.exe Sep 15 '16 at 12:09 AM

That looks like either the IP address is incorrect, or remote login is not setup correctly. (As the connection request timed out)

Try using the PC name (if you're not already) rather than the direct IP and confirm the user 'nikoskipz' is added to the valid Remote login users on the mac.

avatar image gotgrassct Sep 15 '16 at 09:56 AM

How do i do this?

avatar image gotgrassct Sep 15 '16 at 10:50 AM

My Mac remote login is setup like this alt text

And my Remote Build options are setup like this:

alt text

What am i doing wrong?

mac.jpg (5.2 MB)
remote.jpg (243.6 kB)
avatar image FacePalm.exe Sep 16 '16 at 02:53 AM

In your settings: I would HIGHLY recommend using the computer name, NOT the IP address in the unreal settings. (so 'nico')

I believe usernames on OSX are also case sensitive, so for the username put 'Nico' NOT 'nico'

if that doesn't work, the quick hacky way would be to allow remote login for all users.

Another thing to try would be to turn on file sharing as well on the mac

avatar image gotgrassct Sep 20 '16 at 01:46 PM

I've got it to connect to Rsync... But.. i'm getting some Build errors.. Check it out link text

log.txt (29.3 kB)
avatar image FacePalm.exe Sep 20 '16 at 11:35 PM

It looks like you haven't got it working correctly, as there are the lines:

 Host key verification failed.
 Failed to initialize a connection to the Remote Server nicky

try doing this (or similar) to fix it. https://eureka.ykyuen.info/2011/04/02/maclinux-ssh-host-key-verification-failed/

avatar image gotgrassct Sep 21 '16 at 07:54 PM

What am I supposed to do?

avatar image gotgrassct Sep 21 '16 at 08:33 PM

I'm getting Permission errors now i think.. Here's the Log. link text

buildlog.txt (12.6 kB)
avatar image 7ortis7 Sep 22 '16 at 12:33 AM

Install cygwin (www.cygwin.com - default install), open Cygwin64 Terminal and do:

chgrp.exe Users /cygdrive/C/Users/nicho/AppData/Roaming/Unreal\ Engine/UnrealBuildTool/SSHKeys/nicky/nick/RemoteToolChainPrivate.key

chmod.exe 600 /cygdrive/C/Users/nicho/AppData/Roaming/Unreal\ Engine/UnrealBuildTool/SSHKeys/nicky/nick/RemoteToolChainPrivate.key

The group "Users" can be different if your windows is not in English. (In my computer is "Usuários" because my windows is in Portuguese)

Source: http://www.tiv.net/2013/12/cygwin-id-rsa-too-open.html

avatar image gotgrassct Sep 22 '16 at 08:37 AM

I'm getting this error now: PackagingResults:Error: Error Deployment failed! Failed to sign executable. Make sure your developer certificates have been installed in the System Keychain on the remote Mac.

I Already have my certificate installed in the System Keychain on the remote mac.. i don't understand lol

avatar image 7ortis7 Sep 22 '16 at 11:23 AM

Check if your private key is accessible for any program in the System Keychain (double click the private key then click Access Control).

https://docs.unrealengine.com/latest/INT/Platforms/iOS/Windows/index.html - see Mac Setup step 3 see also https://support.apple.com/kb/PH18682

avatar image FacePalm.exe Sep 23 '16 at 12:41 AM

Are you using iOS 10/XCode 8?

If that's the case you'll need to merge in this changelist: https://github.com/EpicGames/UnrealEngine/commit/ffddf955a4f9771e2c33e933902321a54276b2c4

This fix comes from discussion here: https://answers.unrealengine.com/questions/488680/remote-connection-to-mac-doesnt-work-on-413-and-io.html

NOTE: This will be on top of what @7ortis7 mentions.

avatar image gotgrassct Sep 23 '16 at 03:57 AM

So just copy all of the contents into my UE4 Installation? Build in Visual Studio? It'll work after that? Do i have to Generate Project files and launch Setup.bat again??

avatar image FacePalm.exe Sep 23 '16 at 04:00 AM

Setup is only done once EVER. It's good practice to run Generate Project files when merging in changelists. but yes, after that, building the ue4 tools and copying your certificates into the mac system keychain, it should work.

avatar image gotgrassct Sep 23 '16 at 04:34 AM

Okay, i'm gonna try it out now and i'll tell you how it goes. I Have a good feeling about this since it's a known issue in 4.13 and there's a fix for it now. Thanks.

avatar image gotgrassct Sep 23 '16 at 10:10 AM

It worked! I Couldn't do it without FacePalm.exe's Help! I Am now able to deploy to my iPhonr!! Very excited to get back to work. Thanks to everyone who helped!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question