Error when creating architecture project in 4.25-"Failed to extract Metal compiler search directories"

You need to start Xcode at least once after installing it, because on first run it apparently installs some additional components.

I got this answer from here, and it worked (MacOS 10.14.6 and Xcode 11.3.1):