XType: failed to connect - Font server protocol mismatch

Hi, I constantly see this error when trying to build my app (on a M1 mac mini, XCode 13.4.1, macOS 12.5):

10:54:12     [10:54:12]: ▸ 2022-09-01 10:54:12.167 xcodebuild[8704:227402] XType: failed to connect - Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.fonts was invalidated: failed at lookup with error 3 - No such process.}

10:54:12     [10:54:12]: ▸ 2022-09-01 10:54:12.167 xcodebuild[8704:227402] Font server protocol version mismatch (expected:5 got:0), falling back to local fonts

10:54:12     [10:54:12]: ▸ 2022-09-01 10:54:12.167 xcodebuild[8704:227402] XType: unable to make a connection to the font daemon!

10:54:12     [10:54:12]: ▸ 2022-09-01 10:54:12.167 xcodebuild[8704:227402] XType: XTFontStaticRegistry is enabled as fontd is not available.

How can I make sure the Font server is available?

What can be done about the version mismatch?

XType: failed to connect - Font server protocol mismatch
 
 
Q