-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (36 loc) · 1.36 KB
/
Package.swift
File metadata and controls
39 lines (36 loc) · 1.36 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "BlinkEngage",
platforms: [
.iOS(.v15)
],
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "BlinkEngage",
targets: ["BlinkEngage", "BlinkEngageWrapper"]),
],
dependencies: [
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", from: "12.11.0"),
.package(url: "https://github.com/BlinkReceipt/blinkreceipt-ios.git", from: "1.65.0")
],
targets: [
// Binary target - only distributes the compiled XCFramework
.binaryTarget(
name: "BlinkEngage",
path: "BlinkEngage.xcframework"
),
// Wrapper target to declare dependencies for the binary framework
.target(
name: "BlinkEngageWrapper",
dependencies: [
"BlinkEngage",
.product(name: "GoogleMobileAds", package: "swift-package-manager-google-mobile-ads"),
.product(name: "BlinkReceipt", package: "blinkreceipt-ios")
],
path: "BlinkEngageWrapper"
)
]
)