Comment on Xcode 16 no longer sets ENABLE_PREVIEWS=YES for preview builds We use SwiftLint and SwiftFormat in our build phases script, without been able to detect if we are building for Swift Previews -- we end up in a loop because they make changes to the file system which then continuously creates a new build. Developer Tools & Services Xcode 1w