Error: This project could not be compiled. Would you like to open it in X-Code?

Hi,

So I am trying to open a project that my friend sent me. I downloaded and built the latest version of UE4.8 from Github successfully. I then downloaded the project my friend sent me, unzipped it, and opened the .uproject in the engine. It told me that the project was made in a different version of Unreal Engine (I know for a fact that it was made in some version of 4.8, don’t know which release though):

This project was made with a different version of the Unreal Engine. Converting to this version will rebuild your code projects.

New features and improvements sometimes cause API changes, which may require you to modify your code before it compiles. Content saved with newer versions of the editor will not open in older versions.

We recommend you open a copy of your project to avoid damaging the original.

I clicked Open A Copy, just to be safe. The copying worked. It then showed that it was “Generating Project Files” and “Generating Data For Project Indexing.” That was successful. After a few more things ran, I got this error message:

The project could not be compiled. Would you like to open it in Xcode?


Running Mono...

Setting up Mono
~/Desktop/UnrealEngine/Engine ~/Desktop/UnrealEngine/Engine/Binaries/Mac
Compiling with Mac SDK 10.10
Building UnrealHeaderTool...
Compiling with Mac SDK 10.10
Target is up to date.
Compiling with Mac SDK 10.10
Deploying now!
Parsing headers for TheSurvivalGamesEditor
Reflection code generated for TheSurvivalGamesEditor
Performing 16 actions (4 in parallel)
[1/16] Compile TheSurvivalGames.h
/Users/Julian/Desktop/TheSurvivalGames.git/Intermediate/Build/Mac/UE4Editor/Debug/TheSurvivalGames/TheSurvivalGames.h:4:10: fatal error: UTF-16 (LE) byte order mark detected in '/Users/Julian/Desktop/TheSurvivalGames.git/Source/TheSurvivalGames/TheSurvivalGames.h', but encoding is not supported
#include "/Users/Julian/Desktop/TheSurvivalGames.git/Source/TheSurvivalGames/TheSurvivalGames.h"
         ^
1 error generated.
-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /Users/Julian/Desktop/TheSurvivalGames.git/Binaries/Mac/UE4Editor-TheSurvivalGames-Mac-Debug.dylib
Total build time: 91.91 seconds

So, I’m not sure what to do at this point. If you guys could tell me either the next steps I should take (in X-Code or something) or how to fix the error so it will open in UE4, that would be awesome.

Thanks a bunch!

-Julian