-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (41 loc) · 1.36 KB
/
Package.swift
File metadata and controls
42 lines (41 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
40
41
42
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "VLCKit",
platforms: [
.iOS(.v11), // MobileVLCKit 3.6 supports iOS 11+
.tvOS(.v11) // MobileVLCKit 3.6 supports tvOS 11+ (no macOS support)
],
products: [
.library(
name: "VLCKit",
targets: ["VLCKit"]
)
],
targets: [
.target(
name: "VLCKit",
dependencies: [
.target(name: "MobileVLCKit", condition: .when(platforms: [.iOS])),
.target(name: "TVVLCKit", condition: .when(platforms: [.tvOS]))
],
path: "Sources/VLCKit"
),
.binaryTarget(
name: "MobileVLCKit",
url: "https://github.com/rsalesas/VLCKit/releases/download/3.6.4/MobileVLCKit.xcframework.zip",
checksum: "8c47c9c819a6a055828affa1d82e42cf19df986023470dad825e6d69d8af90d8"
),
.binaryTarget(
name: "TVVLCKit",
url: "https://github.com/rsalesas/VLCKit/releases/download/3.6.6/TVVLCKit.xcframework.zip",
checksum: "f8946e757cd920b359869cc487d9d16ae1eda39b89d9ffdce1b8a1f128033012"
),
.testTarget(
name: "VLCKitTests",
dependencies: ["VLCKit"],
path: "Tests/VLCKitTests"
)
],
swiftLanguageVersions: [.v5]
)