-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Package.swift
28 lines (25 loc) · 742 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
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "CryptoSwift",
platforms: [
.macOS(.v10_13), .macCatalyst(.v13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4), .custom("visionos", versionString: "1.0")
],
products: [
.library(
name: "CryptoSwift",
targets: ["CryptoSwift"]
)
],
targets: [
.target(name: "CryptoSwift", resources: [.copy("PrivacyInfo.xcprivacy")]),
.testTarget(name: "CryptoSwiftTests", dependencies: ["CryptoSwift"])
],
swiftLanguageVersions: [.v5]
)
#if swift(>=5.6)
// Add the documentation compiler plugin if possible
package.dependencies.append(
.package(url: "https:/swiftlang/swift-docc-plugin", from: "1.3.0")
)
#endif