How can I do something like this: .target( // some other settings ... swiftSettings: [.define("ENABLE_TESTABILITY=YES", .when(configuration: .testing))] ) We use a custom configuration called "Testing" (instead of the default "Debug" or "Release") when conducting unit …