Chmodding RemoteToolChainPrivate.key for iOS remote builds
I am encountering an error when trying to use the iOS remote build feature. I believe I have everything setup correctly EXCEPT the permissions on the private key that Unreal generated.
Here is the error:
Which is an easy enough error to fix on a Unix system, but I just can't seem to get them set correctly on windows. Here are some things I have tried:
Does anyone actually have this working?
asked Oct 15 '17 at 07:41 PM in Packaging & Deployment
I've had the same issue as well and it took ages to figure it out, I was using Unreal Engine 4.18 though. To fix the 'Permissions 0660' error, I followed the instructions on this post: https://answers.unrealengine.com/questions/480092/how-to-launch-code-project-to-ios-on-windows-413.html
Specifically the commands:
Replacing the directory with your own directory above.
After solving this error I had another one though which I could not figure out:
This was happening for me because the RemoteBuildTool is set-up to look for the first ssh.exe it finds and then tries to load the cygwin path. If that ssh.exe it finds is a windows native version like in my case, it will run it with the cygwin path which is not a valid windows path and it will fail. To check which ssh.exe is used you can open a terminal and type:
In my case it was returning: C:\Program Files\Git\usr\bin\ssh.exe which is a windows native version. I navigated to that file and changed 'ssh.exe' to something else like 'ssh-1.exe' and it worked (If you run 'where ssh' on a terminal now it should tell you that it can't find the file). Of course now every time I need to use git I have to change it back to 'ssh.exe', so it is not the best solution, but a working solution nonetheless, as I could not find anything else on the forums after hours of trying.
I hope this helped you, let me know!
Follow this question
Once you sign in you will be able to subscribe for any updates here