Just experienced this issue in Xcode 16.2. After deleting the derived data, rebooting the mac, re-building the project, cleaning the project, nothing worked. The solution was to force quit Xcode and re-open. The blue outlines went away, and the "internal error" warning was also gone.