After switching from Xcode 11.0 Beta 3 (11M362v) to Xcode 10 (10A255) and then back to Xcode 11, the editor no longer recognized that Xcode was installed on my machine when trying to use Xcode 11 as my selected Xcode:
PackagingResults: Error: Errors compiling global shader TSlateElementPSFonttruetrueA : PackagingResults: Error: /tmp/4264_946102938.metal(0): Xcode's metal shader compiler was not found, verify Xcode has been installed on this Mac and that it has been selected in Xcode > Preferences > Locations > Command-line Tools. PackagingResults: Error: appError called: Assertion failed: [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4576] PackagingResults: Error: [File:/Users/build/Build/++UE4/Sync/Engine/Source/Runtime/Engine/Private/ShaderCompiler/ShaderCompiler.cpp] [Line: 4576]
sudo xcode-select --switch
sudo xcode-select --switch
Result: The cook encounters an assertion due to not being able to find Xcode
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-77407 in the post.
0 |
Component | UE - Platform - Apple |
---|---|
Affects Versions | 4.22, 4.23 |
Target Fix | 4.23 |
Created | Jul 16, 2019 |
---|---|
Resolved | Aug 12, 2019 |
Updated | Feb 25, 2020 |