DarwinPlatform

Represents any of the “Apple” platforms handled by DarwinToolchain. This boils down a lot of complicated logic about different variants and environments into a straightforward, tightly-modeled type that can be switched over.

Triple+Platforms.swift:32
enum DarwinPlatform

DarwinPlatform does not contain version information, but Triple.version(for:) retrieves a version based on the corresponding DarwinPlatform.