My Mac cannot run UE4 Editor due to an unsupported GPU, so we are trying to set it up for remote compilation from a Windows 8.1 PC.
We followed the steps described in Steps for IOS build with UnrealRemoteTool - Programming & Scripting - Epic Developer Community Forums and A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums as closely as possible, but we cannot get the build to complete succesfully.
These are the steps we followed:
On the PC:
- Downloaded 4.1 and the dependencies from GitHub
- Generated the project files and compiled using Development Editor Win64
On the Mac:
- Updated OSX to 10.9.2 and Installed the latest XCode
- Imported our app private key and certificate into Keychain
- sudo mkdir /UE4
- sudo chmod 777 /UE4
- sudo mkdir -p /Library/MobileDevice/Provisioning\ Profiles
- sudo chmod 777 /Library/MobileDevice/Provisioning\ Profiles
- Copy UnrealRemoteTool from the PC
- chmod a+x the UnrealRemoteTool
- Execute UnrealRemoteTool
Back on the PC:
- Edit Engine\Programs\UnrealBuildTool\BuildConfiguration.xml so it looks like this:
<RemoteToolChain> <PotentialServerNames> <Item>MyMacBookAir</Item> <Item>MyMacPro</Item> </PotentialServerNames> <RemoteServerName>MY-MAC-HOSTNAME</RemoteServerName> </RemoteToolChain>
-
Load Unreal Editor
-
Create a new Basic Code C++ project called IOSTest, no starter files
-
Place our mobile provisioning profile at IOSTest\Build\IOS\IOSTest.mobileprovision
-
Refresh Visual Studio projects
-
Close editor, open Visual Studio project
-
Compile Development Editor Win64
-
Open IOSTest in the editor to confirm it works
-
Back to VS2013, right-click IOSTest and select “Build”
-
I get this error:
1>------ Build started: Project: IOSTest, Configuration: IOS_Development_Game Win32 ------
1> Picking the default remote server MY-MAC-HOSTNAME
1> Compiling with IOS SDK 7.1 on Mac MY-MAC-HOSTNAME
1> Compiling with these architectures: armv7
1>EXEC : error : Error getting full path for: /UE4/Builds/MY-PC/Udk/UnrealEngine-4.1/Engine/Source/…/…/C:\Users\Me\Documents\Unreal Projects\IOSTest\Intermediate\Build\IOS\IOSTest\Inc\Launch\ (Exception: The given path’s format is not supported.)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command “E:\Udk\UnrealEngine-4.1\Engine\Build\BatchFiles\Build.bat IOSTest IOS Development “C:\Users\Me\Documents\Unreal Projects\IOSTest\IOSTest.uproject”” exited with code -1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped
==========
It’s clear that "/UE4/Builds/MY-PC/Udk/UnrealEngine-4.1/Engine/Source/…/…/C:\Users\Me\Documents\Unreal Projects\IOSTest\Intermediate\Build\IOS\IOSTest\Inc\Launch" is an invalid path, but I have no idea where to look in order to fix that.