forked from dgrzeszczak/KeyedCodable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
25 lines (22 loc) · 922 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
// TODO: resolve problem with sources shared to all targets
let package = Package(
name: "KeyedCodable",
// platforms: [.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v2)],
platforms: [.iOS(.v9)],
products: [
.library(
name: "KeyedCodable",
// targets: ["KeyedCodable-iOS", "KeyedCodable-watchOS", "KeyedCodable-tvOS", "KeyedCodable-macOS"]
targets: ["KeyedCodable"]
),
],
targets: [
.target(name: "KeyedCodable", path: "KeyedCodable/Sources"),
// .target(name: "KeyedCodable-watchOS", path: "KeyedCodable/Sources"),
// .target(name: "KeyedCodable-tvOS", path: "KeyedCodable/Sources"),
// .target(name: "KeyedCodable-macOS", path: "KeyedCodable/Sources")
]
)