Skip to content

[UE4] macOS 从源码编译遇到 SDK not found 问题 #19

@yangruihan

Description

@yangruihan

macOS 从源码编译遇到 SDK not found 问题

问题描述

执行引擎代码库./GenerateProjectFiles.sh脚本

遇到如下错误:

The domain/default pair of (com.epicgames.ue4, MonoAOT) does not exist
Triggered an exception while looking for SDK directory in Xcode.app
System.IO.DirectoryNotFoundException: Could not find a part of the path '/Library/Developer/CommandLineTools/Platforms/MacOSX.platform/Developer/SDKs'.

查看确实不存在该目录

解决方案

执行如下命令

sudo xcode-select -r

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions