3 Star 0 Fork 0

mirrors_airbnb/lottie-ios_1

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Package.swift 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
// swift-tools-version:5.9
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("13.0"), .macOS("10.15"), .tvOS("13.0"), .custom("visionOS", versionString: "1.0")],
products: [
.library(name: "Lottie", targets: ["Lottie"]),
// Product for dynamic linking, as SPM builds libraries statically by default.
// This product should be used in a modular project structure with multiple packages using Lottie to avoid duplicate symbols.
.library(name: "Lottie-Dynamic", type: .dynamic, 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")]),
])
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_airbnb/lottie-ios_1.git
git@gitee.com:mirrors_airbnb/lottie-ios_1.git
mirrors_airbnb
lottie-ios_1
lottie-ios_1
master

搜索帮助