forked from tikhop/TPInAppReceipt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
39 lines (34 loc) · 996 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "TPInAppReceipt",
platforms: [.macOS(.v10_12),
.iOS(.v10),
.tvOS(.v10),
.watchOS("6.2")],
products: [
.library(name: "TPInAppReceipt", targets: ["TPInAppReceipt"]),
.library(name: "TPInAppReceipt-Objc", targets: ["TPInAppReceipt-Objc"]),
],
dependencies: [
.package(url: "https://github.com/tikhop/ASN1Swift", .upToNextMajor(from: "1.0.0"))
],
targets: [
.target(
name: "TPInAppReceipt",
dependencies: ["ASN1Swift"],
path: "Sources",
exclude: ["Bundle+Private.swift", "Objc/InAppReceipt+Objc.swift"],
resources: [.process("AppleIncRootCertificate.cer"), .process("StoreKitTestCertificate.cer")]
),
.target(
name: "TPInAppReceipt-Objc",
dependencies: ["TPInAppReceipt"],
path: "Sources/Objc"
),
.testTarget(
name: "TPInAppReceiptTests",
dependencies: ["TPInAppReceipt"])
],
swiftLanguageVersions: [.v5]
)