-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
44 lines (42 loc) · 1.51 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", exact: "3.81.0"),
.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.0/BitmovinPlayer.zip",
checksum: "660adea31237d6d4648292c8b85862c76af8b16c00b4f36da0c62726423a9cd7"
),
.binaryTarget(
name: "BitmovinPlayerAnalytics",
url: "https://cdn.bitmovin.com/player/ios_tvos/3.81.0/BitmovinPlayerAnalytics.zip",
checksum: "c2ed7c8b93e901ec1014f6e9a848c5ce6642c62ddef34b7e96955c55f101d622"
),
.target(
name: "BitmovinPlayerTarget",
dependencies: [
"BitmovinPlayer",
"BitmovinPlayerAnalytics",
.product(name: "BitmovinCollector", package: "bitmovin-analytics-collector-ios"),
.product(name: "BitmovinPlayerCore", package: "player-ios-core"),
]
),
]
)