File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version:5.5
1+ // swift-tools-version:5.9
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
@@ -7,7 +7,8 @@ let package = Package(
77 name: " Markdown " ,
88 platforms: [
99 . iOS( . v14) ,
10- . macOS( . v11)
10+ . macOS( . v11) ,
11+ . visionOS( . v1) ,
1112 ] ,
1213 products: [
1314 // Products define the executables and libraries a package produces, and make them visible to other packages.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import WebKit
44#if os(OSX)
55 import AppKit
66 public typealias ViewRepresentable = NSViewRepresentable
7- #elseif os(iOS)
7+ #else
88 import UIKit
99 public typealias ViewRepresentable = UIViewRepresentable
1010#endif
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import WebKit
1010#if os(OSX)
1111 import AppKit
1212 public typealias CustomView = NSView
13- #elseif os(iOS)
13+ #else
1414 import UIKit
1515 public typealias CustomView = UIView
1616#endif
You can’t perform that action at this time.
0 commit comments