跳到主内容
虚幻5
文章阅读

解决系统升级 Macos26打开虚幻项目报错的问题

2025/12/16266 次阅读2 分钟

打开或者创建项目后提示

Platform Mac is not a valid platform to build. Check that the SDK is installed properly and that you have the necessary platorm support files

需要修改一个配置 一般在这个路径下


/Users/Shared/Epic Games/UE_5.6/Engine/Config/Apple

里面有个 Apple_SDK.json

需要修改 xcode的支持版本,MaxVersion改成 26.0.0 (xcode的最新版本),AppleVersionToLLVMVersions也要修改对应的版本号

示例


{
  "//1": "Xcode versions:",
  "MainVersion": "15.2",
  "MinVersion": "15.2.0",
  "MaxVersion": "26.0.0",
  "//2": "!!!",
  "//3": "NOTE: If you update the MaxVersion, double check the AppleVersionToLLVMVersion array below!!!",
  "//4": "!!!",

  "//5": "The versions on Windows are iTunes versions:",
  "MinVersion_Win64": "1100.0.0.0",
  "MaxVersion_Win64": "8999.0",

  "//6": "This is not a version range, but a mapping of Xcode clang versions to LLVM versions, for shared version checks with other clangs",
  "//7": "Version mapping can be found at https://en.wikipedia.org/wiki/Xcode#Toolchain_versions",
  "//8": "The first half of the pair is the first version that is using the second version source LLVM",
  "//9": "For instance, Xcode 16 uses LLVM 17.0.6",
  "AppleVersionToLLVMVersions": [
    "14.0.0-14.0.0",
    "14.0.3-15.0.0",
    "15.0.0-16.0.0",
    "16.0.0-17.0.6",
    "16.3.0-19.1.4",
    "26.0.0-19.1.5"
  ]
}

修改完成后就可以打开项目了

返回顶部