Project fails to build for iOS/tvOS due to:
error: non-portable path to file
errors.
Result: Build fails to compile
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"
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-41313 in the post.
| 1 | 
| Component | UE - Platform - Mobile | 
|---|---|
| Affects Versions | 4.15, 4.16 | 
| Target Fix | 4.15.2, 4.16 | 
| Fix Commit | 3381845 | 
|---|---|
| Main Commit | 3383473 | 
| Created | Jan 31, 2017 | 
|---|---|
| Resolved | Apr 6, 2017 | 
| Updated | Sep 16, 2019 |