I have been trying to remote build from my PC to my iMac for a couple of weeks now, but have hit a brick wall.
I have followed the guides on answer hub and various posts, and seem to have things configured to the book. I have the certificate and mobile provisions setup correctly and working, rsync is setup, so is Deltacopy, unreal remote build settings and ssh key seems to be working ok, I have setup unreal on the mac and pc from source and have double checked permissions etc… Both the PC and Mac can see each other on the network.
However when I try and package my project for ios, it goes the best part of the way through things successfully until it gets to this part in the log when it complains about permissions. I don’t know what is happening here, and would really appreciate some help in getting to the bottom of this, so if anyone has come across this error before then please put me out of my misery :
UnrealBuildTool: Failed to run init commands on . Output = Permission denied (publickey,password,keyboard-interactive).
UATHelper: Packaging (iOS): UnrealBuildTool: Failed to initialize a connection to the Remote Server
UATHelper: Packaging (iOS): UnrealBuildTool: Doing xcode-select --print-path
UATHelper: Packaging (iOS): UnrealBuildTool: Execute took 00:00:01.5801991
UATHelper: Packaging (iOS): UnrealBuildTool: Compiling with non-standard Xcode (xcode-select): Permission denied (publickey,password,keyboard-interactive)./
UATHelper: Packaging (iOS): UnrealBuildTool: Doing ls Permission denied (publickey,password,keyboard-interactive)./Platforms/iPhoneOS.platform/Developer/SDKs…
What I needed to do was navigate to the RemoteToolChainPrivate.key file in windows explorer > right click > properties> security (tab) > edit (button) > Add the ‘Users’ group and assign ‘Full Control’.
IMPORTANT - Remove all other users and groups assigned to this file, leaving only the ‘Users’ group with full control.
Thanks so much for this tip. This did the trick for me, I was stuck for a bit, but once I removed all other groups except “Users” it worked like a charm.
To reiterate, you need to open the file’s security tab, and delete ALL the users/names/admins listed there. Then Manually add the user group by clicking Advanced->Add->Select a Principle and manually type in ‘USERS’ here:
Tried setting permissions as suggested and still got the same error.
What eventually worked for me was moving the RemoteToolChainPrivate.key file to a different directory, and then manually choosing it under “Override existing SSH permissions file” in the Project Settings.