I have faced the issue on Xcode 15.0.1 version due to having two files (one is a model class while the other is a view) with the same name. It was solved by deleting one file after moving the content to a newly named file. The naming issue was solved and thus, the next run worked perfectly.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: