Description

Attempting to use UAT on Windows to remotely create a standalone build of a project for Mac fails in 4.19. The error message indicates that it cannot find part of the path to the project's Info.plist file, but the path that is being used is incorrect. Instead of D:\Contents\Info.plist, the correct path should be D:\Unreal Projects\Current Issues\TESTMacBuild\Intermediate\Staging\TESTMacBuild.app\Contents\Info.plist

Attempted to test this in 4.18.3, 4.20.2, and 4.21, but each of those versions failed with a different error.

Steps to Reproduce

SETUP:
This repro requires that Mac files are present locally. This can be accomplished by running the following commandline: Setup.bat --include=Mac

REPRO:

  1. Create a new code project on Windows.
  2. Build the project in Visual Studio.
  3. Open the project in the Editor.
  4. Make sure the project is set up for remote compiling on a Mac.
  5. Close the Editor.
  6. Run the following commandline: Path\To\RunUAT.bat -ScriptsForProject=Path\To\Project.uproject BuildCookRun -project=Path\To\Project.uproject -noP4 -targetplatform=Mac -pak -unattended -cook -stage -clientconfig=Development -serverconfig=Development -build -skipbuildeditor -CookMapsOnly -FastCook -iterativecooking -package -prereqs -compile

RESULT:
The build fails with an error similar to the following: ERROR: System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\Contents\Info.plist'.

EXPECTED:
The build completes successfully.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-64148 in the post.

1
Login to Vote

Fixed
Fix Commit4441939
Main Commit4450599
Release Commit4441939
CreatedSep 17, 2018
ResolvedOct 9, 2018
UpdatedOct 16, 2018
View Jira Issue