-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathPackage.swift
31 lines (30 loc) · 1.17 KB
/
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
31
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "CapacitorFirebaseMessaging",
platforms: [.iOS(.v13)],
products: [
.library(
name: "CapacitorFirebaseMessaging",
targets: ["FirebaseMessagingPlugin"])
],
dependencies: [
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", branch: "6.0.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "FirebaseMessagingPlugin",
dependencies: [
.product(name: "Capacitor", package: "capacitor-swift-pm"),
.product(name: "Cordova", package: "capacitor-swift-pm"),
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
.product(name: "FirebaseMessaging", package: "firebase-ios-sdk")
],
path: "ios/Sources/FirebaseMessagingPlugin"),
.testTarget(
name: "FirebaseMessagingPluginTests",
dependencies: ["FirebaseMessagingPlugin"],
path: "ios/Tests/FirebaseMessagingPluginTests")
]
)