Skip to content

Commit 51b2ddc

Browse files
committed
feat: add support for VisionOS download
1 parent 6835cde commit 51b2ddc

File tree

5 files changed

+783
-171
lines changed

5 files changed

+783
-171
lines changed

Sources/XcodesKit/Models+Runtimes.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ extension DownloadableRuntime {
8686
case macOS = "com.apple.platform.macosx"
8787
case watchOS = "com.apple.platform.watchos"
8888
case tvOS = "com.apple.platform.appletvos"
89+
case visionOS = "com.apple.platform.xros"
8990

9091
var order: Int {
9192
switch self {
9293
case .iOS: return 1
9394
case .macOS: return 2
9495
case .watchOS: return 3
9596
case .tvOS: return 4
97+
case .visionOS: return 5
9698
}
9799
}
98100

@@ -102,6 +104,7 @@ extension DownloadableRuntime {
102104
case .macOS: return "macOS"
103105
case .watchOS: return "watchOS"
104106
case .tvOS: return "tvOS"
107+
case .visionOS: return "visionOS"
105108
}
106109
}
107110
}

0 commit comments

Comments
 (0)