Closed makleso6 closed 2 years ago
I am using Vapor on iOS and needs to add iOS platform in Package.swift
let package = Package( name: "async-kit", platforms: [ .macOS(.v10_15), .iOS(.v11) ], products: [ .library(name: "AsyncKit", targets: ["AsyncKit"]), ], dependencies: [ .package(url: "https://github.com/apple/swift-nio.git", from: "2.10.0"), .package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"), ], targets: [ .target(name: "AsyncKit", dependencies: [ .product(name: "Logging", package: "swift-log"), .product(name: "NIO", package: "swift-nio"), ]), .testTarget(name: "AsyncKitTests", dependencies: [ .target(name: "AsyncKit") ]), ] )
I am using Vapor on iOS and needs to add iOS platform in Package.swift