mirror of
https://github.com/jaywcjlove/StoreKitHelper
synced 2026-04-21 21:47:36 +00:00
37 lines
1.1 KiB
Swift
Executable file
37 lines
1.1 KiB
Swift
Executable file
// swift-tools-version: 6.2
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "StoreKitHelper",
|
|
defaultLocalization: "en",
|
|
platforms: [
|
|
.iOS(.v17),
|
|
.macOS(.v14),
|
|
.tvOS(.v15),
|
|
.watchOS(.v8),
|
|
.visionOS(.v1)
|
|
],
|
|
products: [
|
|
// Products define the executables and libraries a package produces, making them visible to other packages.
|
|
.library(
|
|
name: "StoreKitHelper",
|
|
targets: ["StoreKitHelper"]
|
|
),
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
.target(
|
|
name: "StoreKitHelper"
|
|
),
|
|
.testTarget(
|
|
name: "StoreKitHelperTests",
|
|
dependencies: ["StoreKitHelper"],
|
|
resources: [
|
|
.copy("Configuration.storekit")
|
|
]
|
|
),
|
|
]
|
|
)
|