Browse Source

Fix AsyncAwait build for mac and tv (#8449)

Paul Beusterien 4 years ago
parent
commit
3a5bdd8816
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FirebaseStorageSwift/Sources/AsyncAwait.swift

+ 1 - 1
FirebaseStorageSwift/Sources/AsyncAwait.swift

@@ -15,7 +15,7 @@
 import FirebaseStorage
 
 #if swift(>=5.5)
-  @available(iOS 15, *)
+  @available(iOS 15, tvOS 15, macOS 12, *)
   public extension StorageReference {
     /// Asynchronously downloads the object at the StorageReference to a Data object in memory.
     /// A Data object of the provided max size will be allocated, so ensure that the device has