Description

If there is a space in the name of a folder within the Engine's install path (eg. Users\Shared\Epic Games\...), the values set in the User Header Search Paths field are split into multiple lines whenever a space occurs in the path. This results in Xcode not being able to perform auto-complete correctly, as well as preventing users from being able to use Jump to Definition to see where something is defined in source code.

Steps to Reproduce

SETUP:
Make sure you have a binary version of the Engine installed so that there is a space in the file path (eg: Users\Shared\Epic Games\...).

  1. Create a new Basic Code project.
  2. Add a new Actor code class to the project.
  3. In the header file for the new Actor class, select the AActor class that it derives from, then right-click and select "Jump to Definition."
    • Instead of opening Actor.h, Xcode opens ComponentVisualizer.h, which forward declares AActor.
  4. Select the project in the Project Navigator.
  5. Select the Build Settings option.
  6. In the Search Paths section, double-click on the User Header Search Paths field.

RESULT:
Any search paths that include a folder that has a space in the name as part of the path are split into two separate paths where the space is located.

EXPECTED:
Each search path is on a single line, regardless of whether a space is included in the name of a folder within the path.

WORKAROUND:
Make sure the Engine is installed so that there are no spaces in the path.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

11
Login to Vote

Fixed
ComponentUE - Platform - Apple
Affects Versions4.15
Target Fix4.18
Fix Commit3656413
Main Commit3656992
Release Commit3656413
CreatedFeb 21, 2017
ResolvedSep 21, 2017
UpdatedJan 31, 2018