forked from spothero/BarcodeHero-iOS
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
40 lines (37 loc) · 1.15 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// swift-tools-version:5.1
// Copyright © 2019 SpotHero, Inc. All rights reserved.
import PackageDescription
let package = Package(
name: "BarcodeHero",
platforms: [
.iOS("12.0"), // minimum supported version via SPM
.macOS("10.15"), // supports AVMetaDataObject.ObjectType barcode and QR code types
// tvOS is unsupported due to lack of AVMetadataObject support
// watchOS is unsupported due to lack of CoreImage support
],
products: [
.library(name: "BarcodeHero", targets: ["BarcodeHeroCore", "BarcodeHeroUI"]),
.library(name: "BarcodeHeroCore", targets: ["BarcodeHeroCore"]),
.library(name: "BarcodeHeroUI", targets: ["BarcodeHeroUI"]),
],
dependencies: [],
targets: [
.target(
name: "BarcodeHeroCore",
dependencies: []
),
.target(
name: "BarcodeHeroUI",
dependencies: []
),
.testTarget(
name: "BarcodeHeroCoreTests",
dependencies: [
.target(name: "BarcodeHeroCore"),
]
),
],
swiftLanguageVersions: [
.v5,
]
)