-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
44 lines (42 loc) · 1.53 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
32
33
34
35
36
37
38
39
40
41
42
43
44
// 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: "BitmovinPlayer",
platforms: [
.iOS(.v14),
.tvOS(.v14),
.visionOS(.v1)
],
products: [
.library(
name: "BitmovinPlayer",
targets: ["BitmovinPlayerTarget"]
),
],
dependencies: [
.package(url: "https://github.com/bitmovin/player-ios-core.git", "3.81.1-a.1"..."3.81.1"),
.package(url: "https://github.com/bitmovin/bitmovin-analytics-collector-ios.git", from: "3.8.0"),
],
targets: [
.binaryTarget(
name: "BitmovinPlayer",
url: "https://cdn.bitmovin.com/player/ios_tvos/3.81.1-a.1/BitmovinPlayer.zip",
checksum: "53442f0acc000f904c78680688fb9484f9213b59f8bf0f8d3e5c02a4ffe1a3fd"
),
.binaryTarget(
name: "BitmovinPlayerAnalytics",
url: "https://cdn.bitmovin.com/player/ios_tvos/3.81.1-a.1/BitmovinPlayerAnalytics.zip",
checksum: "a0b30ef5105455940a9127eb609071e4a27b27c1a6d60efb064cdc055cee616e"
),
.target(
name: "BitmovinPlayerTarget",
dependencies: [
"BitmovinPlayer",
"BitmovinPlayerAnalytics",
.product(name: "BitmovinCollector", package: "bitmovin-analytics-collector-ios"),
.product(name: "BitmovinPlayerCore", package: "player-ios-core"),
]
),
]
)