iOS Deployment Failed (Exit Code=5)

Ok. If I do a remote build from my PC to a Mac, then does the Mac have to have Unreal Engine 4 installed on it? Also, is there documentation on how to remote build? I don’t have a Mac myself, and if I pull a favor from someone I know, I don’t want to go through the process of installing UE4 on their computer just to uninstall it later.