I'm a bit confused about the support for non-Apple platforms in Package.swift/PackageDescription. The docs for
SupportedPlatform mention Linux etc as members of the
Platform struct, so there seems to be an intent to support Linux here, but in practice there is no support at the moment. The relationship between
SupportedPlatform is undocumented and internal, so there doesn't seem to be a way to declare a
SupportedPlatform for anything non-Apple to pass to the
I realise having a
LinuxVersion that's meaningful in this context is near impossible, but that shouldn't be a problem for Windows, Android etc.