This problem occured to me when I created a custom .swiftlint.yml config file in the project root. After deletion, it solved the problem
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: