Ue4.23 build fail on mac os when disk format choose APFS (Case-sensitive)

XCode build failed as “IOSTargetDeviceOutput.h” not found which is included in IOSTargetDevice.cpp.
In github repo, i found there are two path “release/Engine/Source/Developer/IOS/IOSTargetPlatform/Private/IOSTargetDevice.cpp” and “release/Engine/Source/Developer/iOS/IOSTargetPlatform/Private/IOSTargetDeviceOutput.h”. This is weird that there are two path one is “IOS” while the other is “iOS”.