From f3a288645d95ba6463530e197c14e74405ab3eaa Mon Sep 17 00:00:00 2001
From: Cal Stephens <cal.stephens@airbnb.com>
Date: Mon, 1 Jul 2024 14:11:39 -0700
Subject: [PATCH] Remove Linux #error from Package.swift

---
 Package.swift | 6 ------
 README.md     | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/Package.swift b/Package.swift
index f606b0b..5218e7f 100644
--- a/Package.swift
+++ b/Package.swift
@@ -38,9 +38,3 @@ let package = Package(
       dependencies: ["Lottie"],
       path: "Tests")
   ])
-
-// Emit an error on Linux, so Swift Package Manager's platform support detection doesn't say this package supports Linux
-// https://github.com/airbnb/swift/discussions/197#discussioncomment-4055303
-#if os(Linux)
-#error("Linux is currently not supported")
-#endif
diff --git a/README.md b/README.md
index bf178b0..c0c0780 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
 # Lottie for Swift Package Manager
-[![SwiftPM](https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat)](https://swift.org/package-manager/) [![License](https://img.shields.io/cocoapods/l/lottie-ios.svg?style=flat)](https://cocoapods.org/pods/lottie-ios) [![Platform](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fairbnb%2Flottie-spm%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/airbnb/lottie-spm) [![Swift Versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fairbnb%2Flottie-spm%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/airbnb/lottie-spm)
+[![SwiftPM](https://img.shields.io/badge/SPM-supported-DE5C43.svg?style=flat)](https://swift.org/package-manager/) [![License](https://img.shields.io/cocoapods/l/lottie-ios.svg?style=flat)](https://cocoapods.org/pods/lottie-ios) [![Swift Versions](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fairbnb%2Flottie-spm%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/airbnb/lottie-spm)
 
 This repo provides Swift Package Manager support for [lottie-ios](https://github.com/airbnb/lottie-ios).