I downloaded the latest Xcode (version 15.1) and the issue is resolved now.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: