I’m running UE 4.15.1 on macOS 10.12.3 using Xcode 8.3.
When packaging a distribution build for iOS (I’ve only tried building for distribution), there is an error in the UnrealMathNeon.h file. I’ve pasted the error from the Output Log below. Due to an NDA I had to redact the name of the project and some source paths.
The issue begins whenever Engine.h is included in a file. The crash is happening on line 902 of /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h.
The specific error is “use of undeclared identifier ‘vcvt_f16_f32’”.
I need to be able to build for iOS. So this is a very high priority issue for my studio.
Although not reported as a bug, this other AnswerHub post seems related to this issue: https://answers.unrealengine.com/questions/582216/c-project-not-deploying-on-ios.html
UATHelper: Packaging (iOS): UnrealBuildTool: Reflection code generated for ProjectName in 6.6594988 seconds
UATHelper: Packaging (iOS): UnrealBuildTool: Performing 6 actions (8 in parallel)
UATHelper: Packaging (iOS): UnrealBuildTool: [3/6] clang++ ProjectName.cpp
UATHelper: Packaging (iOS): UnrealBuildTool: [2/6] clang++ ProjectNameBPFL.cpp
UATHelper: Packaging (iOS): UnrealBuildTool: [4/6] clang++ UELinkerFixups.cpp
UATHelper: Packaging (iOS): UnrealBuildTool: [1/6] clang++ ProjectName.generated.cpp
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from [redacted]/ProjectName/Source/ProjectName/Private/ProjectNameBPFL.cpp:3:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from [redacted]/ProjectName/Source/ProjectName/ProjectName.h:5:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Engine/Public/Engine.h:12:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Core.h:12:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/CoreMinimal.h:128:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/VectorRegister.h:17:
UATHelper: Packaging (iOS): UnrealBuildTool: /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h:902:35: error: use of undeclared identifier 'vcvt_f16_f32'
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from [redacted]/ProjectName/Source/ProjectName/ProjectName.cpp:3:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from [redacted]/ProjectName/Source/ProjectName/ProjectName.h:5:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Engine/Public/Engine.h:12:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Core.h:12:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/CoreMinimal.h:128:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/VectorRegister.h:17:
UATHelper: Packaging (iOS): UnrealBuildTool: /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h:902:35: error: use of undeclared identifier 'vcvt_f16_f32'
UATHelper: Packaging (iOS): UnrealBuildTool: float16x4_t f16x4 = (float16x4_t)vcvt_f16_f32(Vec);
UATHelper: Packaging (iOS): UnrealBuildTool: ^
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from [redacted]/ProjectName/Intermediate/Build/IOS/UE4/Inc/ProjectName/ProjectName.generated.cpp:8:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/CoreUObject/Public/UObject/GeneratedCppIncludes.h:5:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/CoreMinimal.h:128:
UATHelper: Packaging (iOS): UnrealBuildTool: In file included from /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/VectorRegister.h:17:
UATHelper: Packaging (iOS): UnrealBuildTool: /Users/Shared/UnrealEngine/UE_4.15/Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h:902:35: error: use of undeclared identifier 'vcvt_f16_f32'
UATHelper: Packaging (iOS): UnrealBuildTool: float16x4_t f16x4 = (float16x4_t)vcvt_f16_f32(Vec);
UATHelper: Packaging (iOS): UnrealBuildTool: ^
UATHelper: Packaging (iOS): UnrealBuildTool: float16x4_t f16x4 = (float16x4_t)vcvt_f16_f32(Vec);
UATHelper: Packaging (iOS): UnrealBuildTool: ^
UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated.
UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated.
UATHelper: Packaging (iOS): UnrealBuildTool: 1 error generated.
UATHelper: Packaging (iOS): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: [redacted]/ProjectName/Binaries/IOS/ProjectName-IOS-Shipping
UATHelper: Packaging (iOS): UnrealBuildTool: Total build time: 93.47 seconds (Local executor: 0.00 seconds)
UATHelper: Packaging (iOS): CommandUtils.Run: Run: Took 94.042579s to run mono, ExitCode=5