-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (29 loc) · 1012 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
// Set the name of the package
name: "WizardHelper",
// Set the minimum platform versions for iOS and macOS
// This package requires at least iOS 15 and macOS 12
platforms: [.iOS(.v17), .macOS(.v14)],
// Define the products that this package provides
products: [
// Define a library product with the name "WizardHelper"
.library(
name: "WizardHelper",
// Include the "WizardHelper" target in the library
targets: ["WizardHelper"])
],
// Define the dependencies that this package requires
dependencies: [],
// Define the "WizardHelper" target
targets: [
.target(
name: "WizardHelper",
// This target has no dependencies
dependencies: []),
.testTarget( // creates a new test target
name: "WizardHelperTests",
dependencies: ["WizardHelper"])
]
)