Skip to content

Commit

Permalink
Fix unhandled file warning when building with SPM (#2132)
Browse files Browse the repository at this point in the history
  • Loading branch information
calda authored Aug 10, 2023
1 parent 46202c7 commit 8b89a43
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,16 @@ let package = Package(
// 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")],
products: [.library(name: "Lottie", targets: ["Lottie"])],
targets: [.target(name: "Lottie", path: "Sources")])
targets: [
.target(
name: "Lottie",
path: "Sources",
exclude: [
"Private/EmbeddedLibraries/README.md",
"Private/EmbeddedLibraries/ZipFoundation/README.md",
"Private/EmbeddedLibraries/EpoxyCore/README.md",
]),
])

#if swift(>=5.6)
// Add the Airbnb Swift formatting plugin if possible
Expand Down

0 comments on commit 8b89a43

Please sign in to comment.