-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPackage.dev.swift
More file actions
48 lines (45 loc) · 1.6 KB
/
Package.dev.swift
File metadata and controls
48 lines (45 loc) · 1.6 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version:5.9
// This file is licensed to you under the Apache License, Version 2.0
// (http://www.apache.org/licenses/LICENSE-2.0) or the MIT license
// (http://opensource.org/licenses/MIT), at your option.
//
// Unless required by applicable law or agreed to in writing, this software is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF
// ANY KIND, either express or implied. See the LICENSE-MIT and LICENSE-APACHE
// files for the specific language governing permissions and limitations under
// each license.
import PackageDescription
let package = Package(
name: "C2PA",
platforms: [
.iOS(.v16),
.macOS(.v14),
],
products: [
.library(
name: "C2PA",
targets: ["C2PA"])
],
dependencies: [
.package(
url: "https://github.com/apple/swift-certificates.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-asn1.git", .upToNextMajor(from: "1.0.0")),
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMajor(from: "3.0.0")),
],
targets: [
.binaryTarget(
name: "C2PAC",
path: "Library/Frameworks/C2PAC.xcframework"
),
.target(
name: "C2PA",
dependencies: [
"C2PAC",
.product(name: "X509", package: "swift-certificates"),
.product(name: "SwiftASN1", package: "swift-asn1"),
.product(name: "Crypto", package: "swift-crypto"),
],
path: "Library/Sources"
),
]
)