if you have UnrealEngine in an external drive, and you tried
sudo xcode-select -s /Volumes/Ext SSD/Applications/Xcode.app/Contents/Developer/
and still getting this Message :
“Can’t find Xcode install for Metal compiler. Please install Xcode and run Xcode.app to accept license or ensure active developer directory is set to current Xcode installation using xcode-select.”
then try this
- Open Xcode which is in your external Drive
- Go to Preferences
- Go to Locations on your bar tab
- in Command Line Tools, choose the version of your command line
then run Unreal Engine , it will work. it works in my case