Skip to content

Commit

Permalink
feat: add support for VisionOS download
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKiazyk committed Jun 22, 2023
1 parent 6835cde commit 51b2ddc
Show file tree
Hide file tree
Showing 5 changed files with 783 additions and 171 deletions.
3 changes: 3 additions & 0 deletions Sources/XcodesKit/Models+Runtimes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,15 @@ extension DownloadableRuntime {
case macOS = "com.apple.platform.macosx"
case watchOS = "com.apple.platform.watchos"
case tvOS = "com.apple.platform.appletvos"
case visionOS = "com.apple.platform.xros"

var order: Int {
switch self {
case .iOS: return 1
case .macOS: return 2
case .watchOS: return 3
case .tvOS: return 4
case .visionOS: return 5
}
}

Expand All @@ -102,6 +104,7 @@ extension DownloadableRuntime {
case .macOS: return "macOS"
case .watchOS: return "watchOS"
case .tvOS: return "tvOS"
case .visionOS: return "visionOS"
}
}
}
Expand Down
Loading

0 comments on commit 51b2ddc

Please sign in to comment.