33 lines
751 B
Swift
33 lines
751 B
Swift
// 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"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/tikhop/ASN1Swift", .upToNextMajor(from: "1.0.0"))
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "TPInAppReceipt",
|
|
dependencies: ["ASN1Swift"],
|
|
path: "Sources",
|
|
exclude: ["Bundle+Extension.swift"],
|
|
resources: [.process("AppleIncRootCertificate.cer"), .process("StoreKitTestCertificate.cer")]
|
|
),
|
|
.testTarget(
|
|
name: "TPInAppReceiptTests",
|
|
dependencies: ["TPInAppReceipt"])
|
|
]
|
|
)
|
|
|
|
|