![]() When I installed Unreal 4.18.0 yesterday, I got the “Xcode is too old” error message. A couple months later, I installed XCode. When first setting up my laptop (last December), the first thing I did was install Homebrew. If I use xcode-select to select XCode, metal is again found. If I use xcode-select to select CommandLineTools, then run xcrun -sdk macosx metal, the metal compiler is not found. The CommandLineTools package does not contain the OS X or iPhone SDKs, and therefore does not contain the metal command line tool. CommandLineTools is automatically installed if you install the popular UNIX-tool package managers “homebrew” or “MacPorts”. xcode-select is a tool Apple providers for specifying what compiler version that the command line utilities cc, xcrun etc use, in case the user has multiple versions of XCode installed. The error will be gone.Īpple in recent years has distributed two choices for getting C compilers: XCode, a full GUI IDE, and “CommandLineTools”, a minimal package containing basic tools for UNIX style development. You will see the “Xcode installed on this Mac is too old” dialog.Ĭlose unreal editor and reset your command line tool provider by running You can see that you have a working compiler toolchain by typing cc This will simulate the state of having installed CommandLineTools before Xcode. Sudo xcode-select -s /Library/Developer/CommandLineTools Set the Command Line Tools package to be the standard command line tool provider by running I think you can do this by running xcode-select -install see here. Ensure the Command Line Tools package is installed. Install UE 4.18 and the newest XCode on a Macintosh. In addition, the user will not get the benefit of Metal. ![]() If this happens, Unreal will perpetually display a misleading error message at startup, and the user will likely not be able to figure out the cause of the error message on their own. ![]() …in cases where Xcode is at the newest version, but the “xcode-select” tool has selected Apple’s CommandLineTools package rather than Xcode.Ī user can get into this state if when setting up their computer they install CommandLineTools, or the popular “Homebrew” utility, before they install Xcode. Please update to latest version of xcode for best performance.” Falling back to runtime compiled text shaders, which are slower. “Xcode installed on this Mac is too old to be used for Metal shader compilation. Unreal for Mac OS X, at startup, displays the error: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |