How to setup Remote Build ?
Hey guys i'm trying to test In App-Purchase feature in my IOS game but since i'm using a PC i think i need to setup remote build so i can sync to a MAC so i can use XCODE to build and test the IAP in my game but i don't know how to set up Remote Build i have gone far as to install DeltaCopy, Allow Remote in MAC ect. But got stuck in " Generate SSH Key " i click the button but doesn't do anything.
I read that there's another way for building and testing app, through a website call "Testflight" but the website is currently down.
If i'm wrong please feel free to correct me, i'm not familiar with XCODE.
asked Jul 12 '16 at 12:57 AM in Installation & Setup
This is from modifying this guide a tad: https://forums.unrealengine.com/showthread.php?78804-Windows-gt-iOS-Rsync-Remote-Build-Guide-(4-8) (As that's rather outdated and excessive now)
1) Download and install Xcode
2) Export cert and provisioning profiles from Xcode
Add your Apple Dev Account in Xcode (Preferences->Accounts)
Xcode > Apple IDs > Details > Provisioning Profiles > "Show in Finder" > Copy .mobileprovision files to folder on PC (or USB stick)
Xcode > Apple IDs > Details > Signing Identities > "Export" > Input password and export .p12 files to folder on PC (or USB stick)
Open Keychain Access, choose the "My Certificates" category, and copy your certificates from "login" to "System"
3) Go to System Preferences->Sharing and turn on "remote login"
Make sure you give access for the account you plan to use
1) Make sure you have the source build of UE4 downloaded and setup correctly
2) Download and install DeltaCopy
I recommend installing this in the default directory of C:/program files/etc. etc.
If you don't you will need to define the location in the project settings under Platforms->iOS->Build->RemoteBuildOptions
4) Setup your project iOS settings
Go to Edit -> Project Settings -> iOS -> and be sure the project is configured for IOS.
Import the Mobile Provision that we exported earlier. This will be automatically copied to a location in your Documents folder.
Import the Certificate (.p12 that we earlier exported from Xcode), input password. This will register the certificate globally on your PC.
Since the editor copies and registers these files, you can now unplug your USB stick or remove the files you exported earlier.
NOTE: If importing through the editor doesn't work, open UE4Directory\Engine\Binaries\DotNET\IOS\IPhonePackager.exe, Find the uproject file for your project, then click the Already Registered tab, and import your certificate through there.
Shut down IPP and restart the editor when done.
Set bundle identifier to com.companyname.yourgame (make sure this matches the string in your mobile provision)
5) In the same tab, find the Remote Build Options (tiny hidden arrow)
Enter the Remote Server Name (Computer name of the Mac)
Enter the RSync User Name (User name of the Mac)
Press the [Generate SSH Key] button (This and the next sub steps are optional here as this will happen when you attempt to build the ipa anyway)
Enter Yes into the terminal
Enter the password of the Mac computer
Press Enter twice to enter an empty passphrase
Enter the password of the Mac computer again
6) Finally, Package Project
You can do this by just hitting Package Project -> iOS, however I prefer using the project launcher with a custom profile (Launch arrow->project launcher)
If everything goes right, you will have an IPA in the Binaries/iOS folder of your Windows project folder.
I think that should be all the steps to setup for remote building. It's been a while since i've had to do it.
Hope that helps. :)
answered Jul 12 '16 at 05:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here