Skip to content

ENUM

PackagePlatform

Contents

  • Cases
    • iOS
    • macOS
    • macCatalyst
    • watchOS
    • tvOS
    • visionOS
swift
public enum PackagePlatform: String, Codable, Equatable, CaseIterable, Sendable

A supported Swift Package Manager platform representation.

Cases

iOS

swift
case iOS = "ios"

The iOS platform

macOS

swift
case macOS = "macos"

The macOS platform

macCatalyst

swift
case macCatalyst = "maccatalyst"

The Mac Catalyst platform

watchOS

swift
case watchOS = "watchos"

The watchOS platform

tvOS

swift
case tvOS = "tvos"

The tvOS platform

visionOS

swift
case visionOS = "visionos"

The visionOS platform

Released under the MIT License.