Skip to content

Commit

Permalink
Update VisionOS on Platform
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKiazyk committed Jun 23, 2023
1 parent 51b2ddc commit bca393b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .swiftpm/xcode/xcshareddata/xcschemes/xcodes.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,12 @@
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "runtimes"
isEnabled = "NO">
argument = "runtimes install &quot;visionOS 1.0-beta1&quot;"
isEnabled = "YES">
</CommandLineArgument>
<CommandLineArgument
argument = "install --help"
isEnabled = "YES">
isEnabled = "NO">
</CommandLineArgument>
<CommandLineArgument
argument = "update"
Expand Down
2 changes: 2 additions & 0 deletions Sources/XcodesKit/Models+Runtimes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,14 @@ extension InstalledRuntime {
case tvOS = "com.apple.platform.appletvsimulator"
case iOS = "com.apple.platform.iphonesimulator"
case watchOS = "com.apple.platform.watchsimulator"
case visionOS = "com.apple.platform.visionsimulator"

var asPlatformOS: DownloadableRuntime.Platform {
switch self {
case .watchOS: return .watchOS
case .iOS: return .iOS
case .tvOS: return .tvOS
case .visionOS: return .visionOS
}
}
}
Expand Down

0 comments on commit bca393b

Please sign in to comment.