forked from avocado-bravocado/lottie-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
23 lines (22 loc) · 899 Bytes
/
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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "Lottie",
// Minimum platform versions should be kept in sync with the per-platform targets in Lottie.xcodeproj, lottie-ios.podspec, and lottie-spm's Package.swift
platforms: [.iOS("11.0"), .macOS("10.11"), .tvOS("11.0"), .custom("visionOS", versionString: "1.0")],
products: [.library(name: "Lottie", targets: ["Lottie"])],
dependencies: [
.package(url: "https://github.com/airbnb/swift", .upToNextMajor(from: "1.0.1")),
],
targets: [
.target(
name: "Lottie",
path: "Sources",
exclude: [
"Private/EmbeddedLibraries/README.md",
"Private/EmbeddedLibraries/ZipFoundation/README.md",
"Private/EmbeddedLibraries/EpoxyCore/README.md",
"Private/EmbeddedLibraries/LRUCache/README.md",
],
resources: [.copy("PrivacyInfo.xcprivacy")]),
])