I found another workaround
on terminal
sudo xcode-select -s /Users/Documents/xcode16.3/Xcode.app/Contents/Developer
worked for me
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: