Description

Project fails to build for iOS/tvOS due to:

error: non-portable path to file

errors.

Steps to Reproduce
  1. Create C++ Template project
  2. Compile Project with Xcode 8.2.x toolchain, in Development Editor Build configuration
  3. Open project in UE4Editor
  4. In terminal set code-select to use 8.3 beta
    • (e.g.) sudo xcode-select -switch /Applications/Xcode-beta.app
  5. File Package for iOS/tvOS

Result: Build fails to compile

Callstack
In file included from /Users/willfissler/Documents/Unreal Projects/XcodeClangTest/Source/XcodeClangTest/XcodeClangTestGameMode.cpp:3:
In file included from /Users/willfissler/Documents/Unreal Projects/XcodeClangTest/Source/XcodeClangTest/XcodeClangTest.h:6:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Engine/Public/EngineMinimal.h:10:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/Misc/MonolithicHeaderBoilerplate.h:3:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/CoreTypes.h:10:
/Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/HAL/Platform.h:75:11: error: non-portable path to file '"iOS/IOSPlatformCompilerPreSetup.h"'; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
In file included from /Users/willfissler/Documents/Unreal Projects/XcodeClangTest/Source/XcodeClangTest/XcodeClangTestProjectile.cpp:3:
In file included from /Users/willfissler/Documents/Unreal Projects/XcodeClangTest/Source/XcodeClangTest/XcodeClangTest.h:6:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Engine/Public/EngineMinimal.h:10:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/Misc/MonolithicHeaderBoilerplate.h:3:
In file included from /Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/CoreTypes.h:10:
/Users/Shared/UnrealEngine/4.15/Engine/Source/Runtime/Core/Public/HAL/Platform.h:75:11: error: non-portable path to file '"iOS/IOSPlatformCompilerPreSetup.h"'; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
        #include "IOS/IOSPlatformCompilerPreSetup.h"
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                 "iOS/IOSPlatformCompilerPreSetup.h"

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.154.16
Target Fix4.15.24.16
Fix Commit3381845
Main Commit3383473
CreatedJan 31, 2017
ResolvedApr 6, 2017
UpdatedSep 16, 2019
View Jira Issue