From 5d173879056e84862cbc03822a57f6b6574786d4 Mon Sep 17 00:00:00 2001 From: Dan Loewenherz Date: Sat, 3 Jul 2021 14:49:29 -0500 Subject: [PATCH] add Swift Package Manager support Authored-by: Arkayn Gamer --- Package.swift | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Package.swift diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..ee35957 --- /dev/null +++ b/Package.swift @@ -0,0 +1,34 @@ +// swift-tools-version:5.3 + +// +// Package.swift +// IAPReceiptVerifier +// +// Created by Mark Hoath on 3/7/21. +// + +import PackageDescription + +let package = Package ( + name: "IAPReceiptVerifier", + platforms: [ + .iOS(.v14) + ], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "IAPReceiptVerifier", + targets: ["IAPReceiptVerifier"]) + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "IAPReceiptVerifier", + dependencies: [], + path: "IAPReceiptVerifier/Classes") + ] +)