Also got the same problem after downloading XCode 16.2 beta. For now nothing works. Tried with Karol's method, but it still persist.