I resolved the problem
Delete CommandLine folder from file directory
Open terminal
Run xcode-select --install
install the command line tools
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: