无法在虚幻引擎4中创建新项目 在发生这个错误之前,我收到了另一个错误,通知我,UnRealt无法检测到C++编译器,甚至在安装XCODE后也安装XCODER。我已经安装了多个版本,现在似乎已经解决了这个问题。然而,我现在收到一个不同的错误。我尝试过很多解决

无法在虚幻引擎4中创建新项目 在发生这个错误之前,我收到了另一个错误,通知我,UnRealt无法检测到C++编译器,甚至在安装XCODE后也安装XCODER。我已经安装了多个版本,现在似乎已经解决了这个问题。然而,我现在收到一个不同的错误。我尝试过很多解决,xcode,mono,unreal-engine4,Xcode,Mono,Unreal Engine4,无法在虚幻引擎4中创建新项目 在发生这个错误之前,我收到了另一个错误,通知我,UnRealt无法检测到C++编译器,甚至在安装XCODE后也安装XCODER。我已经安装了多个版本,现在似乎已经解决了这个问题。然而,我现在收到一个不同的错误。我尝试过很多解决方案,比如从终端导出到目录,但是没有成功 An error occurred while trying to generate project files. Running Mono... Found mono via known Mon

无法在虚幻引擎4中创建新项目

在发生这个错误之前,我收到了另一个错误,通知我,UnRealt无法检测到C++编译器,甚至在安装XCODE后也安装XCODER。我已经安装了多个版本,现在似乎已经解决了这个问题。然而,我现在收到一个不同的错误。我尝试过很多解决方案,比如从终端导出到目录,但是没有成功

An error occurred while trying to generate project files.


Running Mono...

Found mono via known Mono.framework path
Running installed mono, version:  Mono JIT compiler version 6.4.0.208 (2019-06/07c23f2ca43 Wed Oct 2 04:52:23 EDT 2019)
/Applications/GameDev/UE_4.21/Engine /Applications/GameDev/UE_4.21/Engine/Binaries/Mac
Discovering modules, targets and source code for project...
Generating data for project indexing...
Triggered an exception while looking for SDK directory in Xcode.app

System.IO.DirectoryNotFoundException: Could not find a part of the path '/Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs'.
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult].CreateDirectoryHandle (System.String path, System.Boolean ignoreNotFound) [0x00032] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Enumeration.FileSystemEnumerator`1[TResult]..ctor (System.String directory, System.IO.EnumerationOptions options) [0x00048] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]..ctor (System.IO.Enumeration.FileSystemEnumerable`1[TResult] enumerable) [0x00000] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Enumeration.FileSystemEnumerable`1[TResult]..ctor (System.String directory, System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult] transform, System.IO.EnumerationOptions options) [0x00042] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Enumeration.FileSystemEnumerableFactory.UserDirectories (System.String directory, System.String expression, System.IO.EnumerationOptions options) [0x00014] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Directory.InternalEnumeratePaths (System.String path, System.String searchPattern, System.IO.SearchTarget searchTarget, System.IO.EnumerationOptions options) [0x00045] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Directory.GetDirectories (System.String path, System.String searchPattern, System.IO.EnumerationOptions enumerationOptions) [0x00000] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at System.IO.Directory.GetDirectories (System.String path) [0x0000b] in <ba70b91736bd40cb990a357097dba9c3>:0 
  at UnrealBuildTool.AppleToolChainSettings.SelectSDK (System.String BaseSDKDir, System.String OSPrefix, System.String& PlatformSDKVersion, System.Boolean bVerbose) [0x0001d] in <782077b94fec4538a544b9c45478bfa6>:0

WARNING: Exception while generating include data for UE4Editor: Invalid SDK MacOSX.sdk, not found in /Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs
WARNING: Exception while generating include data for MyProjectEditor: Invalid SDK MacOSX.sdk, not found in /Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs
Generating data for project indexing... 100%
Writing project files...
Writing project files... 0%
ERROR: UnrealBuildTool Exception: Invalid SDK MacOSX.sdk, not found in /Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs
尝试生成项目文件时出错。
正在运行Mono。。。
通过已知的mono.framework路径找到mono
运行已安装的mono,版本:mono JIT编译器版本6.4.0.208(2019-06/07c23f2ca43 Wed Oct 2 04:52:23 EDT 2019)
/Applications/GameDev/UE_4.21/Engine/Applications/GameDev/UE_4.21/Engine/Binaries/Mac
正在发现项目的模块、目标和源代码。。。
正在为项目索引生成数据。。。
在Xcode.app中查找SDK目录时触发异常
System.IO.DirectoryNotFoundException:找不到路径“/Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs”的一部分。
位于:0中的System.IO.Enumeration.FileSystemumerator`1[TResult].CreateDirectoryHandle(System.String路径,System.Boolean ignoreNotFound)[0x00032]
在:0中的System.IO.Enumeration.FileSystemumerator`1[TResult]…ctor(System.String目录,System.IO.EnumerationOptions)[0x00048]处
0中的System.IO.Enumeration.FileSystemEnumerable`1+DelegateEnumerator[TResult]…ctor(System.IO.Enumeration.FileSystemEnumerable`1[TResult]enumerable)[0x00000]处
在System.IO.Enumeration.FileSystemEnumerable`1[TResult]…ctor(System.String目录,System.IO.Enumeration.FileSystemEnumerable`1+FindTransform[TResult]转换,System.IO.EnumerationOptions)[0x00042]中:0
位于:0中的System.IO.Enumeration.FileSystemMemerableFactory.UserDirectory(System.String目录、System.String表达式、System.IO.EnumerationOptions)[0x00014]处
在System.IO.Directory.InternalEnumerationPaths(System.String路径、System.String搜索模式、System.IO.SearchTarget搜索目标、System.IO.EnumerationOptions)[0x00045]中:0
在System.IO.Directory.GetDirectory(System.String路径、System.String搜索模式、System.IO.EnumerationOptions EnumerationOptions)[0x00000]中:0
在:0中的System.IO.Directory.GetDirectory(System.String路径)[0x0000b]处
在UnrealBuildTool.AppleToolChainSettings.SelectSDK(System.String BaseSDKDir、System.String OSPrefix、System.String&PlatformSDKVersion、System.Boolean bVerbose)[0x0001d]中:0
警告:为UE4Editor生成包含数据时出现异常:无效的SDK MacOSX.SDK,在/Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs中找不到
警告:为MyProjectEditor生成包含数据时出现异常:无效的SDK MacOSX.SDK,在/Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs中找不到
正在为项目索引生成数据。。。100%
正在写入项目文件。。。
正在写入项目文件。。。0%
错误:UnrealBuildTool异常:无效的SDK MacOSX.SDK,未在/Applications/Xcode.app/Platforms/MacOSX.platform/Developer/SDKs中找到