A while ago I did an #Xcode project config change that I like doing to prevent Debug builds from overwriting the Release version. This way I can use Release for personal use with non-test data.
The config change is: add a project-level variable PRODUCT_NAME_SUFFIX, set to "Dev" on DEBUG builds only. That variable suffixes PRODUCT_NAME, effectively propagating to Bundle Identifier, which results in a separate install. I also ensure that code in DEBUG refers to the Dev bundle ID variant, and it all works great.
BUT, it silently breaks SwiftUI previews, with no build errors nor runtime errors visible in the Swift Previews console - just the Canvas showing up blank. Is anybody out there familiar with this issue?