# Rsync error exit code 12

**URL:** <https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742>\
**Category:** Mobile\
**Tags:** unreal-engine, iOS\
**Created:** [August 28, 2021, 6:06am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742 "2021-08-28T06:06:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [August 28, 2021, 6:06am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/1 "2021-08-28T06:06:52Z")

</div>

Hello Everyone,  
I am trying to package for ios on my windows using my mac as a SSH. I have my certs and provisions all sorted out but in an attempt to package I get this error:UATHelper: Packaging (iOS): rsync error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]  
PackagingResults: Error: error in rsync protocol data stream (code 12) at /home/lapo/packaging/rsync-3.0.4-1/src/rsync-3.0.4/io.c(632) [sender=3.0.4]  
UATHelper: Packaging (iOS): ERROR: Error while running Rsync (exit code 12)  
PackagingResults: Error: Error while running Rsync (exit code 12)

This is the main error I can provide log as well. It takes about 2 seconds for this error to occur. I can also provide images. Please reply.

Yours sincerly,  
beaster2

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [August 29, 2021, 10:11pm UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/2 "2021-08-29T22:11:24Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [August 30, 2021, 4:22am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/3 "2021-08-30T04:22:07Z")

</div>

Update: I changed my install location to C:/ drive now it doesnt come up with that error. However it does come with this one: UATHelper: Packaging (iOS): ERROR: Unable to determine home directory for remote user. SSH output:  
UATHelper: Packaging (iOS): ssh: connect to host 192.168.1.17 port 22: Connection timed out  
UATHelper: Packaging (iOS): Took 21.7233152s to run UnrealBuildTool.exe, ExitCode=6  
UATHelper: Packaging (iOS): UnrealBuildTool failed. See log for more details. (C:\Users\Priyank Gupta\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE\_4.26\UBT-Cyborg\_Invasion-IOS-Development.txt)  
PackagingResults: Error: Unable to determine home directory for remote user. SSH output:  
UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (iOS): BUILD FAILED  
PackagingResults: Error: Unknown Error

If you have any suggestions please let me know

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [August 31, 2021, 10:16pm UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/4 "2021-08-31T22:16:08Z")

</div>

Okay, so I just installed UE4 on C:/ drive instead of my D:/ and it says I dont have itunes. On my D:/ drive it said I did and I did. But after installing on C:/ it says I dont. I did install itunes on my D:/. Please help thankyou

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [August 31, 2021, 11:22pm UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/5 "2021-08-31T23:22:36Z")

</div>

Another update, It does detect itunes on UE4 4.26.2 which is installed on D:/. As I mentioned before I donwload UE4 on c:/ drive and itunes on D:/ drive so I think itunes has to be installed on C:/ drive. The only reason I didnt install on D:/ was becasue I didnt have any space on C:/ drive. Im not sure if this is the problem.(I havent yet installed on C:/ drive)

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 1, 2021, 5:08am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/6 "2021-09-01T05:08:33Z")

</div>

Another update, downloaded itunes on C:/ still doesnt work. (i didnt download windows version just so hat you know).Im not sure if its a matter of time or what. Please help.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 1, 2021, 5:17am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/7 "2021-09-01T05:17:57Z")

</div>

If you have a suggestion please tell me. Ive been trying for 4 months no kidding

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 2, 2021, 8:42am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/8 "2021-09-02T08:42:40Z")

</div>

Please, All I want to do is to just package my game for ios

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [September 2, 2021, 9:14am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/9 "2021-09-02T09:14:23Z")

</div>

I managed to get iOS remote build working from Windows to iOS using my Mac mini and then a day later it stopped working with ERROR: Unable to determine home directory for remote user.  
I’ve not be able to resolve this as yet either. From long ago I vaguely remember a post suggesting changing the default shell on the Mac from csh to zsh (or something!!) to fix this but can’t find it again - That might give you something to go on.  
I’m sorta in the same boat as you - it’s such a pain.  
Good luck

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 2, 2021, 10:44pm UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/10 "2021-09-02T22:44:09Z")

</div>

Hi,  
The default bash shell or whatever is zsh I’m pretty sure changing it doesn’t matter. In the iOS QuickStart tutorial it claims that the shell should be “bin/bash” even after doing that it didn’t work. I’ll try changing the shell to csh. Unreal has never been the best for iOS builds.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 3, 2021, 7:49am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/11 "2021-09-03T07:49:05Z")

</div>

Wait, arent you the person who replied on my other post?

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [September 3, 2021, 9:38am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/12 "2021-09-03T09:38:07Z")

</div>

Maybe, my memory isn’t what it used to be.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 5, 2021, 12:39am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/13 "2021-09-05T00:39:57Z")

</div>

Im not sure if doing a wire connection does something. Even if that is the case then I am not sure how I would connect it. Let me know what you think about that

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [September 5, 2021, 4:54pm UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/14 "2021-09-05T16:54:04Z")

</div>

Sorry, I don’t understand what you mean. We are trying to get remote build for iOS from Windows working according to the Unreal documentation, yes?  
I use WiFi for both my Windows and Mac Mini. It would make no difference if they had wired ethernet connections.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 6, 2021, 7:42am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/15 "2021-09-06T07:42:44Z")

</div>

Okay. Thanks for informing me about that. I dont have any thoughts on how to fix this. Any thoughts?

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 6, 2021, 7:45am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/16 "2021-09-06T07:45:18Z")

</div>

Yes we are.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 12, 2021, 1:41am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/17 "2021-09-12T01:41:28Z")

</div>

any thoughts yet?

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 28, 2021, 10:52am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/18 "2021-09-28T10:52:09Z")

</div>

Islandplaya I’m wondering if you have found a solution, if so please let me know your fix. Thanks

---

<div class="post-metadata">

**Author:** ![IslandPlaya](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/islandplaya/32/1194500_2.png) [@IslandPlaya](https://forums.unrealengine.com/u/IslandPlaya)\
**Post date:** [September 28, 2021, 11:04am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/19 "2021-09-28T11:04:50Z")

</div>

I haven’t gone back to this yet. If I find a fix I’ll be sure to post here.

---

<div class="post-metadata">

**Author:** ![beaster2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@beaster2](https://forums.unrealengine.com/u/beaster2)\
**Post date:** [September 28, 2021, 11:05am UTC](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742/20 "2021-09-28T11:05:31Z")

</div>

ill be in touch with you

[Next page](https://forums.unrealengine.com/t/rsync-error-exit-code-12/247742.md?page=2)
