「How to use a custom build configuration in a Swift Package? - Using Swift - Swift Forums」
How can I do something like this: .target( // some other settings ... swiftSettings: [.define("ENABLE_TESTABILITY=YES", .when(configuration: .testing))] ) We use a custom configuration calle…