This issue still persists in Xcode 15.1 beta 3, this is really frustrating same code works using Xcode 14.3.1 and it's a shame that I can't update. Just to be clear to me this issue only happens when running unit tests compile the app works fine just the unit tests don't.