I am seeing this issue still on Xcode 26.6
If it helps, this happened when I created a watchOS target and the file FooView.swift exists in both my iOS and watchOS targets
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: