Fail to Generate XCode Project : Unexpected ProjectFileFormat

Hi there,

I’m trying to add a new module dependency into my project then regenerate xcode project, but as I do so an error pops up saying “UnrealBuildTool Exception: Unexpected ProjectFileFormat”. I’m pretty new to iOS development and cannot find a similar problem at AnswerHub so I’m not able to figure it out by myself…

Since I have recently upgraded my project to 4.18 p3 (launcher version), it may be the cause of the problem (it was good when using 4.18 p1), or maybe I accidentally set something wrong…

Here’s the whole console output for generating operation FYR:
Laylas-iMac:~ deity$ cd “/Users/Shared/Epic Games/UE_4.18/Engine/Build/BatchFiles/Mac”

Laylas-iMac:Mac deity$  sh "/Users/Shared/Epic Games/UE_4.18/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh" -project="/Users/deity/Perforce/Phoenix_DEITY-iMac/Space/Space.uproject" -game

Setting up Unreal Engine 4 project files...

Setting up Mono

/Users/Shared/Epic Games/UE_4.18/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/Microsoft.CSharp.targets: error : Error executing tool '/Users/Shared/Epic Games/UE_4.18/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe': ApplicationName='/Users/Shared/Epic Games/UE_4.18/Engine/Binaries/ThirdParty/Mono/Mac/lib/mono/4.5/mcs.exe', CommandLine='/noconfig @/var/folders/h5/2fn7md8s58997_g3fl4mcnyw0000gn/T/tmp4fb191b9.tmp', CurrentDirectory='/Users/Shared/Epic Games/UE_4.18/Engine/Source/Programs/DotNETCommon/DotNETUtilities', Native error= Cannot find the specified file

Discovering modules, targets and source code for project...

WARNING: Visual Studio C++ 2017 installation not found - ignoring preferred project file format.

Generating data for project indexing... 100%

Writing project files... 67%

ERROR: UnrealBuildTool Exception: Unexpected ProjectFileFormat

If you got any suggestion or solution, thanks in advance.