Problem with latest XCODE

Mac updated Xcode and now I get errors on build in Xcode on new empty projects and current projects. Tried with 3.8.2 and 3.8.6 thinking I had to update engine first.

“A template argument list is expected after a name prefixed by the template keyword”

In EventTarget.h

The fastest way now is to download previous version XCode 16.2 from https://developer.apple.com/download/all/
You can keep several versions of XCode on your mac.