I just updated to Xcode 16.3 and the indentation problem is solved!
Topic:
Developer Tools & Services
SubTopic:
Xcode