-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathPackage.swift
More file actions
28 lines (27 loc) · 952 Bytes
/
Package.swift
File metadata and controls
28 lines (27 loc) · 952 Bytes
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.9
import PackageDescription
let package = Package(
name: "CapacitorBranchDeepLinks",
platforms: [.iOS(.v15)],
products: [
.library(
name: "CapacitorBranchDeepLinks",
targets: ["BranchDeepLinksPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
.package(url: "https://github.com/BranchMetrics/ios-branch-sdk-spm.git", from: "3.14.0")
],
targets: [
.target(
name: "BranchDeepLinksPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
// The dedicated SPM repo exports "BranchSDK"
.product(name: "BranchSDK", package: "ios-branch-sdk-spm")
],
path: "ios/Plugin"
)
]
)