Starting in Xcode 16.3 I noticed that our project would randomly rebuild unchanged files every time. Eventually I figured out what was wrong by adding debug information to the build trace. See this commit erikolofsson@db164ba
Would you be interested in accepting a pull request for this?
Findings for Xcode that might be out of scope, but could be useful to your team: https://gist.github.com/erikolofsson/b79e4a8cc355c54e28ac0a715b3d6387