Skip to content

Commit bca393b

Browse files
committed
Update VisionOS on Platform
1 parent 51b2ddc commit bca393b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@
128128
isEnabled = "NO">
129129
</CommandLineArgument>
130130
<CommandLineArgument
131-
argument = "runtimes"
132-
isEnabled = "NO">
131+
argument = "runtimes install &quot;visionOS 1.0-beta1&quot;"
132+
isEnabled = "YES">
133133
</CommandLineArgument>
134134
<CommandLineArgument
135135
argument = "install --help"
136-
isEnabled = "YES">
136+
isEnabled = "NO">
137137
</CommandLineArgument>
138138
<CommandLineArgument
139139
argument = "update"

Sources/XcodesKit/Models+Runtimes.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,14 @@ extension InstalledRuntime {
137137
case tvOS = "com.apple.platform.appletvsimulator"
138138
case iOS = "com.apple.platform.iphonesimulator"
139139
case watchOS = "com.apple.platform.watchsimulator"
140+
case visionOS = "com.apple.platform.visionsimulator"
140141

141142
var asPlatformOS: DownloadableRuntime.Platform {
142143
switch self {
143144
case .watchOS: return .watchOS
144145
case .iOS: return .iOS
145146
case .tvOS: return .tvOS
147+
case .visionOS: return .visionOS
146148
}
147149
}
148150
}

0 commit comments

Comments
 (0)