The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KYPhotoLibrary, reference main (3d6a26), with Swift 5.10 for macOS (SPM) on 17 Nov 2024 10:28:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:16:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:92:33: error: 'addAssets' is only available in macOS 10.15 or newer
        collectionChangeRequest.addAssets([placeholderForCreatedAsset] as NSFastEnumeration)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:92:33: note: add 'if #available' version check
        collectionChangeRequest.addAssets([placeholderForCreatedAsset] as NSFastEnumeration)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:50:15: note: add @available attribute to enclosing static method
  static func asset_save(image: KYPhotoLibraryImage?, imageURL: URL?, videoURL: URL?, toAlbum albumName: String?) async throws -> String {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:16:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:112:7: error: 'PHAssetChangeRequest' is only available in macOS 10.15 or newer
      PHAssetChangeRequest.deleteAssets([asset] as NSFastEnumeration)
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:112:7: note: add 'if #available' version check
      PHAssetChangeRequest.deleteAssets([asset] as NSFastEnumeration)
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:106:15: note: add @available attribute to enclosing static method
  static func asset_delete(for mediaType: PHAssetMediaType, with assetIdentifier: String) async throws {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:16:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:112:28: error: 'deleteAssets' is only available in macOS 10.15 or newer
      PHAssetChangeRequest.deleteAssets([asset] as NSFastEnumeration)
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:112:28: note: add 'if #available' version check
      PHAssetChangeRequest.deleteAssets([asset] as NSFastEnumeration)
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:106:15: note: add @available attribute to enclosing static method
  static func asset_delete(for mediaType: PHAssetMediaType, with assetIdentifier: String) async throws {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetChange.swift:16:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetQuery.swift:45:22: error: 'fetchAssets(with:)' is only available in macOS 10.15 or newer
      return PHAsset.fetchAssets(with: fetchOptions)
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetQuery.swift:45:22: note: add 'if #available' version check
      return PHAsset.fetchAssets(with: fetchOptions)
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetQuery.swift:25:22: note: add @available attribute to enclosing static method
  public static func loadAssets(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetQuery.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
[9/25] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions+OutputURL.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:74:39: error: 'originalFilename' is only available in macOS 10.15 or newer
        self.filename = assetResource.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:74:39: note: add 'if #available' version check
        self.filename = assetResource.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:76:56: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
        self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:76:56: note: add 'if #available' version check
        self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:73:40: error: 'PHAssetResource' is only available in macOS 10.15 or newer
      if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:73:40: note: add 'if #available' version check
      if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:85:47: error: 'originalFilename' is only available in macOS 10.15 or newer
          self.fileExtension = (assetResource.originalFilename as NSString).pathExtension
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:85:47: note: add 'if #available' version check
          self.fileExtension = (assetResource.originalFilename as NSString).pathExtension
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:87:58: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
          self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:87:58: note: add 'if #available' version check
          self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:84:42: error: 'PHAssetResource' is only available in macOS 10.15 or newer
        if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:84:42: note: add 'if #available' version check
        if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
[10/25] Compiling KYPhotoLibrary KYPhotoLibraryExportOptions.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:74:39: error: 'originalFilename' is only available in macOS 10.15 or newer
        self.filename = assetResource.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:74:39: note: add 'if #available' version check
        self.filename = assetResource.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:76:56: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
        self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:76:56: note: add 'if #available' version check
        self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:73:40: error: 'PHAssetResource' is only available in macOS 10.15 or newer
      if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:73:40: note: add 'if #available' version check
      if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:85:47: error: 'originalFilename' is only available in macOS 10.15 or newer
          self.fileExtension = (assetResource.originalFilename as NSString).pathExtension
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:85:47: note: add 'if #available' version check
          self.fileExtension = (assetResource.originalFilename as NSString).pathExtension
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:87:58: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
          self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:87:58: note: add 'if #available' version check
          self.outputFileType = AVFileType(assetResource.uniformTypeIdentifier)
                                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:84:42: error: 'PHAssetResource' is only available in macOS 10.15 or newer
        if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:84:42: note: add 'if #available' version check
        if let asset, let assetResource: PHAssetResource = KYPhotoLibrary.assetResource(for: asset) {
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:71:16: note: add @available attribute to enclosing instance method
  private func _prepareFilename(with asset: PHAsset?) async {
               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/AssetExportOptions/KYPhotoLibraryExportOptions+OutputURL.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibraryExportOptions {
^
[11/25] Compiling KYPhotoLibrary TimeInterval+KYPhotoLibrary.swift
[12/25] Compiling KYPhotoLibrary UIDevice+KYPhotoLibrary.swift
[13/25] Compiling KYPhotoLibrary KYPhotoLibraryLogger.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: error: 'UTType' is only available in macOS 11.0 or newer
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: note: add 'if #available' version check
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: error: 'init(filenameExtension:conformingTo:)' is only available in macOS 11.0 or newer
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: note: add 'if #available' version check
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:21:32: error: 'identifier' is only available in macOS 11.0 or newer
      return AVFileType(utType.identifier)
                               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:21:32: note: add 'if #available' version check
      return AVFileType(utType.identifier)
                               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
[14/25] Compiling KYPhotoLibrary AVFileType+KYPhotoLibrary.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: error: 'UTType' is only available in macOS 11.0 or newer
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: note: add 'if #available' version check
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: error: 'init(filenameExtension:conformingTo:)' is only available in macOS 11.0 or newer
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:20:28: note: add 'if #available' version check
    } else if let utType = UTType(filenameExtension: fileExtension) {
                           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:21:32: error: 'identifier' is only available in macOS 11.0 or newer
      return AVFileType(utType.identifier)
                               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:21:32: note: add 'if #available' version check
      return AVFileType(utType.identifier)
                               ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing static method
  static func ky_fromFileExtension(_ fileExtension: String) -> AVFileType? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/AVFileType+KYPhotoLibrary.swift:13:1: note: add @available attribute to enclosing extension
extension AVFileType {
^
[15/25] Compiling KYPhotoLibrary URL+KYPhotoLibrary.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:23:65: error: 'contentTypeKey' is only available in macOS 11.0 or newer
    try (self as NSURL).getResourceValue(&contentType, forKey: .contentTypeKey)
                                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:23:65: note: add 'if #available' version check
    try (self as NSURL).getResourceValue(&contentType, forKey: .contentTypeKey)
                                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing instance method
  public func ky_getExistingFileExtension() throws -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension URL {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:29:35: error: 'UTType' is only available in macOS 11.0 or newer
    if let type = contentType as? UTType {
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:29:35: note: add 'if #available' version check
    if let type = contentType as? UTType {
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing instance method
  public func ky_getExistingFileExtension() throws -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension URL {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:56: error: 'UTType' is only available in macOS 11.0 or newer
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:11: error: 'UTType' is only available in macOS 11.0 or newer
extension UTType {
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: error: 'UTType' is only available in macOS 11.0 or newer
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: note: add 'if #available' version check
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: error: 'init(filenameExtension:conformingTo:)' is only available in macOS 11.0 or newer
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: note: add 'if #available' version check
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: error: 'UTType' is only available in macOS 11.0 or newer
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: note: add 'if #available' version check
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:35:22: note: add @available attribute to enclosing static method
  public static func ky_getFileExtensionFromUniformTypeIdentifier(_ identifier: String) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: error: 'init(_:)' is only available in macOS 11.0 or newer
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: note: add 'if #available' version check
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:35:22: note: add @available attribute to enclosing static method
  public static func ky_getFileExtensionFromUniformTypeIdentifier(_ identifier: String) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:17: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:17: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:47: warning: conformance of 'UTTagClass' to 'Hashable' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:47: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:52: error: 'tags' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:52: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:57: error: 'UTTagClass' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:57: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:68: error: 'filenameExtension' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:68: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .image)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:12: note: add 'if #available' version check
    return conforms(to: .image)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:48:15: note: add @available attribute to enclosing instance method
  public func ky_isPhotoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:26: error: 'image' is only available in macOS 11.0 or newer
    return conforms(to: .image)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:26: note: add 'if #available' version check
    return conforms(to: .image)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:48:15: note: add @available attribute to enclosing instance method
  public func ky_isPhotoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .movie)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:12: note: add 'if #available' version check
    return conforms(to: .movie)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:52:15: note: add @available attribute to enclosing instance method
  public func ky_isVideoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:26: error: 'movie' is only available in macOS 11.0 or newer
    return conforms(to: .movie)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:26: note: add 'if #available' version check
    return conforms(to: .movie)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:52:15: note: add @available attribute to enclosing instance method
  public func ky_isVideoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .audio)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:12: note: add 'if #available' version check
    return conforms(to: .audio)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:56:15: note: add @available attribute to enclosing instance method
  public func ky_isAudioFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:26: error: 'audio' is only available in macOS 11.0 or newer
    return conforms(to: .audio)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:26: note: add 'if #available' version check
    return conforms(to: .audio)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:56:15: note: add @available attribute to enclosing instance method
  public func ky_isAudioFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
[16/25] Compiling KYPhotoLibrary UTType+KYPhotoLibrary.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:23:65: error: 'contentTypeKey' is only available in macOS 11.0 or newer
    try (self as NSURL).getResourceValue(&contentType, forKey: .contentTypeKey)
                                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:23:65: note: add 'if #available' version check
    try (self as NSURL).getResourceValue(&contentType, forKey: .contentTypeKey)
                                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing instance method
  public func ky_getExistingFileExtension() throws -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension URL {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:29:35: error: 'UTType' is only available in macOS 11.0 or newer
    if let type = contentType as? UTType {
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:29:35: note: add 'if #available' version check
    if let type = contentType as? UTType {
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:17:15: note: add @available attribute to enclosing instance method
  public func ky_getExistingFileExtension() throws -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/URL+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension URL {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:56: error: 'UTType' is only available in macOS 11.0 or newer
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                                                       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:11: error: 'UTType' is only available in macOS 11.0 or newer
extension UTType {
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: error: 'UTType' is only available in macOS 11.0 or newer
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: note: add 'if #available' version check
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: error: 'init(filenameExtension:conformingTo:)' is only available in macOS 11.0 or newer
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:18:14: note: add 'if #available' version check
      return UTType(filenameExtension: fileExtension)
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:16:22: note: add @available attribute to enclosing static method
  public static func ky_fromFile(with fileURL: URL) -> UTType? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: error: 'UTType' is only available in macOS 11.0 or newer
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: note: add 'if #available' version check
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:35:22: note: add @available attribute to enclosing static method
  public static func ky_getFileExtensionFromUniformTypeIdentifier(_ identifier: String) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: error: 'init(_:)' is only available in macOS 11.0 or newer
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:36:22: note: add 'if #available' version check
    guard let type = UTType(identifier) else {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:35:22: note: add @available attribute to enclosing static method
  public static func ky_getFileExtensionFromUniformTypeIdentifier(_ identifier: String) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:17: error: 'preferredFilenameExtension' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:17: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:47: warning: conformance of 'UTTagClass' to 'Hashable' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:47: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:52: error: 'tags' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:52: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:57: error: 'UTTagClass' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:57: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:68: error: 'filenameExtension' is only available in macOS 11.0 or newer
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:43:68: note: add 'if #available' version check
    return self.preferredFilenameExtension ?? self.tags[UTTagClass.filenameExtension]?.first
                                                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:42:15: note: add @available attribute to enclosing instance method
  public func ky_getFileExtension() -> String? {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .image)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:12: note: add 'if #available' version check
    return conforms(to: .image)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:48:15: note: add @available attribute to enclosing instance method
  public func ky_isPhotoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:26: error: 'image' is only available in macOS 11.0 or newer
    return conforms(to: .image)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:49:26: note: add 'if #available' version check
    return conforms(to: .image)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:48:15: note: add @available attribute to enclosing instance method
  public func ky_isPhotoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .movie)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:12: note: add 'if #available' version check
    return conforms(to: .movie)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:52:15: note: add @available attribute to enclosing instance method
  public func ky_isVideoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:26: error: 'movie' is only available in macOS 11.0 or newer
    return conforms(to: .movie)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:53:26: note: add 'if #available' version check
    return conforms(to: .movie)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:52:15: note: add @available attribute to enclosing instance method
  public func ky_isVideoFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:12: error: 'conforms(to:)' is only available in macOS 11.0 or newer
    return conforms(to: .audio)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:12: note: add 'if #available' version check
    return conforms(to: .audio)
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:56:15: note: add @available attribute to enclosing instance method
  public func ky_isAudioFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:26: error: 'audio' is only available in macOS 11.0 or newer
    return conforms(to: .audio)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:57:26: note: add 'if #available' version check
    return conforms(to: .audio)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:56:15: note: add @available attribute to enclosing instance method
  public func ky_isAudioFileType() -> Bool {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/GenericExtensions/UTType+KYPhotoLibrary.swift:12:1: note: add @available attribute to enclosing extension
extension UTType {
^
[17/25] Compiling KYPhotoLibrary KYPhotoLibraryConfiguration.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: error: 'Task' is only available in macOS 10.15 or newer
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: note: add 'if #available' version check
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: note: add 'if #available' version check
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:17: error: 'Task' is only available in macOS 10.15 or newer
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:17: note: add 'if #available' version check
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:22: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:22: note: add 'if #available' version check
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
[18/25] Compiling KYPhotoLibrary KYPhotoLibraryDebug.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: error: 'Task' is only available in macOS 10.15 or newer
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: note: add 'if #available' version check
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:30:5: note: add 'if #available' version check
    Task {
    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:17: error: 'Task' is only available in macOS 10.15 or newer
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:17: note: add 'if #available' version check
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:22: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:31:22: note: add 'if #available' version check
      try await Task.sleep(nanoseconds: UInt64(seconds * 1_000_000_000))
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:26:15: note: add @available attribute to enclosing static method
  static func simulateWaiting(_ option: DuringOptions, seconds: Double = 3) {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibraryDebug.swift:12:6: note: add @available attribute to enclosing enum
enum KYPhotoLibraryDebug {
     ^
[19/25] Compiling KYPhotoLibrary KYPhotoLibrary+Album.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:25:70: error: 'fetchAssetCollections(with:subtype:options:)' is only available in macOS 10.15 or newer
    let albums: PHFetchResult<PHAssetCollection> = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:25:70: note: add 'if #available' version check
    let albums: PHFetchResult<PHAssetCollection> = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:24:22: note: add @available attribute to enclosing static method
  public static func getAlbum(with albumName: String, createIfNotFound: Bool = true) async throws -> PHAssetCollection? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:11: error: 'PHAssetCollectionChangeRequest' is only available in macOS 10.15 or newer
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:11: note: add 'if #available' version check
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:51:22: note: add @available attribute to enclosing static method
  public static func createAlbum(with albumName: String) async throws -> PHAssetCollection {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:42: error: 'creationRequestForAssetCollection(withTitle:)' is only available in macOS 10.15 or newer
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:42: note: add 'if #available' version check
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:51:22: note: add @available attribute to enclosing static method
  public static func createAlbum(with albumName: String) async throws -> PHAssetCollection {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
[20/25] Compiling KYPhotoLibrary KYPhotoLibrary.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:25:70: error: 'fetchAssetCollections(with:subtype:options:)' is only available in macOS 10.15 or newer
    let albums: PHFetchResult<PHAssetCollection> = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:25:70: note: add 'if #available' version check
    let albums: PHFetchResult<PHAssetCollection> = PHAssetCollection.fetchAssetCollections(with: .album, subtype: .any, options: nil)
                                                                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:24:22: note: add @available attribute to enclosing static method
  public static func getAlbum(with albumName: String, createIfNotFound: Bool = true) async throws -> PHAssetCollection? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:11: error: 'PHAssetCollectionChangeRequest' is only available in macOS 10.15 or newer
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:11: note: add 'if #available' version check
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:51:22: note: add @available attribute to enclosing static method
  public static func createAlbum(with albumName: String) async throws -> PHAssetCollection {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:42: error: 'creationRequestForAssetCollection(withTitle:)' is only available in macOS 10.15 or newer
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:53:42: note: add 'if #available' version check
      _ = PHAssetCollectionChangeRequest.creationRequestForAssetCollection(withTitle: albumName)
                                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:51:22: note: add @available attribute to enclosing static method
  public static func createAlbum(with albumName: String) async throws -> PHAssetCollection {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/KYPhotoLibrary+Album.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
[21/25] Compiling KYPhotoLibrary KYPhotoLibrary+Image.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:143:22: error: 'withThrowingTaskGroup(of:returning:body:)' is only available in macOS 10.15 or newer
    return try await withThrowingTaskGroup(of: KYPhotoLibraryImage.self, returning: [KYPhotoLibraryImage].self) { taskGroup in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:143:22: note: add 'if #available' version check
    return try await withThrowingTaskGroup(of: KYPhotoLibraryImage.self, returning: [KYPhotoLibraryImage].self) { taskGroup in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:165:36: error: 'reduce(into:_:)' is only available in macOS 10.15 or newer
        return try await taskGroup.reduce(into: [KYPhotoLibraryImage]()) { partialResult, image in
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:165:36: note: add 'if #available' version check
        return try await taskGroup.reduce(into: [KYPhotoLibraryImage]()) { partialResult, image in
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:192:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:192:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:79:37: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:79:37: note: add 'if #available' version check
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:113:37: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:113:37: note: add 'if #available' version check
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:144:22: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:144:22: note: add 'if #available' version check
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:143:8: note: add @available attribute to enclosing instance method
  func requestOriginalImageData(asset: PHAsset, requestOptions: PHImageRequestOptions?) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:145:49: error: 'requestImageDataAndOrientation(for:options:resultHandler:)' is only available in macOS 10.15 or newer
      self.requestID = PHImageManager.default().requestImageDataAndOrientation(
                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:145:49: note: add 'if #available' version check
      self.requestID = PHImageManager.default().requestImageDataAndOrientation(
                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:143:8: note: add @available attribute to enclosing instance method
  func requestOriginalImageData(asset: PHAsset, requestOptions: PHImageRequestOptions?) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:162:22: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:162:22: note: add 'if #available' version check
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:161:8: note: add @available attribute to enclosing instance method
  func requestImageData(forTpye typeIdentifier: String, image: KYPhotoLibraryImage) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
[22/25] Compiling KYPhotoLibrary KYPhotoLibrary+ImageExport.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:137:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:143:22: error: 'withThrowingTaskGroup(of:returning:body:)' is only available in macOS 10.15 or newer
    return try await withThrowingTaskGroup(of: KYPhotoLibraryImage.self, returning: [KYPhotoLibraryImage].self) { taskGroup in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:143:22: note: add 'if #available' version check
    return try await withThrowingTaskGroup(of: KYPhotoLibraryImage.self, returning: [KYPhotoLibraryImage].self) { taskGroup in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:165:36: error: 'reduce(into:_:)' is only available in macOS 10.15 or newer
        return try await taskGroup.reduce(into: [KYPhotoLibraryImage]()) { partialResult, image in
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:165:36: note: add 'if #available' version check
        return try await taskGroup.reduce(into: [KYPhotoLibraryImage]()) { partialResult, image in
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:123:22: note: add @available attribute to enclosing static method
  public static func loadImages(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:192:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:192:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:196:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:184:23: note: add @available attribute to enclosing static method
  private static func _loadImageForAsset(
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+Image.swift:21:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:79:37: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:79:37: note: add 'if #available' version check
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:83:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:89:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:67:22: note: add @available attribute to enclosing static method
  public static func exportImageFromPhotoLibrary(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:113:37: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:113:37: note: add 'if #available' version check
    let imageData: Data = try await withTaskCancellationHandler {
                                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:120:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:9: error: 'Task' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:9: note: add 'if #available' version check
    try Task.checkCancellation()
        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:14: error: 'checkCancellation()' is only available in macOS 10.15 or newer
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:126:14: note: add 'if #available' version check
    try Task.checkCancellation()
             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:106:22: note: add @available attribute to enclosing static method
  public static func exportImage(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:17:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:144:22: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:144:22: note: add 'if #available' version check
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:143:8: note: add @available attribute to enclosing instance method
  func requestOriginalImageData(asset: PHAsset, requestOptions: PHImageRequestOptions?) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:145:49: error: 'requestImageDataAndOrientation(for:options:resultHandler:)' is only available in macOS 10.15 or newer
      self.requestID = PHImageManager.default().requestImageDataAndOrientation(
                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:145:49: note: add 'if #available' version check
      self.requestID = PHImageManager.default().requestImageDataAndOrientation(
                                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:143:8: note: add @available attribute to enclosing instance method
  func requestOriginalImageData(asset: PHAsset, requestOptions: PHImageRequestOptions?) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:162:22: error: 'withCheckedThrowingContinuation(function:_:)' is only available in macOS 10.15 or newer
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:162:22: note: add 'if #available' version check
    return try await withCheckedThrowingContinuation { continuation in
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:161:8: note: add @available attribute to enclosing instance method
  func requestImageData(forTpye typeIdentifier: String, image: KYPhotoLibraryImage) async throws -> Data {
       ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Image/KYPhotoLibrary+ImageExport.swift:138:15: note: add @available attribute to enclosing actor
private actor ImageDataRequestActor {
              ^
[23/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetResource.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:59: error: 'PHAssetResource' is only available in macOS 10.15 or newer
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: error: 'assetResources(for:)' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: note: add 'if #available' version check
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: note: add 'if #available' version check
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: note: add 'if #available' version check
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: note: add 'if #available' version check
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: note: add 'if #available' version check
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: note: add 'if #available' version check
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: note: add 'if #available' version check
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: error: 'fullSizePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: error: 'adjustmentBasePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: error: 'adjustmentBaseVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: error: 'originalFilename' is only available in macOS 10.15 or newer
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: note: add 'if #available' version check
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:46:22: note: add @available attribute to enclosing static method
  public static func originalFilename(for asset: PHAsset) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: note: add 'if #available' version check
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: error: 'originalFilename' is only available in macOS 10.15 or newer
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: note: add 'if #available' version check
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: error: 'originalFilename' is only available in macOS 10.15 or newer
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: note: add 'if #available' version check
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: error: 'UTType' is only available in macOS 11.0 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: error: 'PHContentEditingInputRequestOptions' is only available in macOS 10.15 or newer
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: note: add 'if #available' version check
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: error: 'canHandleAdjustmentData' is only available in macOS 10.15 or newer
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: note: add 'if #available' version check
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
[24/25] Compiling KYPhotoLibrary KYPhotoLibrary+AssetURL.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:59: error: 'PHAssetResource' is only available in macOS 10.15 or newer
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: error: 'assetResources(for:)' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: note: add 'if #available' version check
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: note: add 'if #available' version check
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: note: add 'if #available' version check
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: note: add 'if #available' version check
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: note: add 'if #available' version check
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: note: add 'if #available' version check
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: note: add 'if #available' version check
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: error: 'fullSizePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: error: 'adjustmentBasePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: error: 'adjustmentBaseVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: error: 'originalFilename' is only available in macOS 10.15 or newer
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: note: add 'if #available' version check
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:46:22: note: add @available attribute to enclosing static method
  public static func originalFilename(for asset: PHAsset) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: note: add 'if #available' version check
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: error: 'originalFilename' is only available in macOS 10.15 or newer
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: note: add 'if #available' version check
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: error: 'originalFilename' is only available in macOS 10.15 or newer
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: note: add 'if #available' version check
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: error: 'UTType' is only available in macOS 11.0 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: error: 'PHContentEditingInputRequestOptions' is only available in macOS 10.15 or newer
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: note: add 'if #available' version check
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: error: 'canHandleAdjustmentData' is only available in macOS 10.15 or newer
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: note: add 'if #available' version check
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
[25/25] Compiling KYPhotoLibrary KYPhotoLibrary+Thumbnail.swift
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:59: error: 'PHAssetResource' is only available in macOS 10.15 or newer
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:26: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                         ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:45: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: error: 'assetResources(for:)' is only available in macOS 10.15 or newer
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:22:61: note: add 'if #available' version check
    let assetResources: [PHAssetResource] = PHAssetResource.assetResources(for: asset)
                                                            ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:24:35: note: add 'if #available' version check
    var appropriateAssetResource: PHAssetResource?
                                  ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:27:12: note: add 'if #available' version check
        $0.type == .photo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:28:12: note: add 'if #available' version check
        $0.type == .alternatePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:29:12: note: add 'if #available' version check
        $0.type == .fullSizePhoto ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:30:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePhoto
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:34:12: note: add 'if #available' version check
        $0.type == .video ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:35:12: note: add 'if #available' version check
        $0.type == .fullSizeVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:36:12: note: add 'if #available' version check
        $0.type == .pairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:12: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: error: 'fullSizePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:37:21: note: add 'if #available' version check
        $0.type == .fullSizePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:12: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: error: 'adjustmentBasePairedVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:38:21: note: add 'if #available' version check
        $0.type == .adjustmentBasePairedVideo ||
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: error: 'type' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:12: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
           ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: error: 'adjustmentBaseVideo' is only available in macOS 10.15 or newer
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:39:21: note: add 'if #available' version check
        $0.type == .adjustmentBaseVideo
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:21:22: note: add @available attribute to enclosing static method
  public static func assetResource(for asset: PHAsset) -> PHAssetResource? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: error: 'originalFilename' is only available in macOS 10.15 or newer
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:47:39: note: add 'if #available' version check
    return assetResource(for: asset)?.originalFilename
                                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:46:22: note: add @available attribute to enclosing static method
  public static func originalFilename(for asset: PHAsset) -> String? {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetResource.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: error: 'PHAssetResource' is only available in macOS 10.15 or newer
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:54:30: note: add 'if #available' version check
    guard let assetResource: PHAssetResource = assetResource(for: asset) else {
                             ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: error: 'originalFilename' is only available in macOS 10.15 or newer
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:60:33: note: add 'if #available' version check
      filename = (assetResource.originalFilename.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed)
                                ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: error: 'originalFilename' is only available in macOS 10.15 or newer
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:61:36: note: add 'if #available' version check
                  ?? assetResource.originalFilename)
                                   ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: error: 'UTType' is only available in macOS 11.0 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:41: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                        ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: error: 'uniformTypeIdentifier' is only available in macOS 10.15 or newer
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:63:107: note: add 'if #available' version check
      guard let fileExtension: String = UTType.ky_getFileExtensionFromUniformTypeIdentifier(assetResource.uniformTypeIdentifier) else {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:31:22: note: add @available attribute to enclosing static method
  public static func assetURL(
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:82:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: error: 'PHContentEditingInputRequestOptions' is only available in macOS 10.15 or newer
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:84:21: note: add 'if #available' version check
      let options = PHContentEditingInputRequestOptions()
                    ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: error: 'canHandleAdjustmentData' is only available in macOS 10.15 or newer
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:85:15: note: add 'if #available' version check
      options.canHandleAdjustmentData = { _ in true }
              ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:88:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:79:23: note: add @available attribute to enclosing static method
  private static func _imageURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:98:22: note: add 'if #available' version check
    return try await withTaskCancellationHandler {
                     ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'Task' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:102:7: note: add 'if #available' version check
      Task {
      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:95:23: note: add @available attribute to enclosing static method
  private static func _videoURL(of asset: PHAsset) async throws -> URL {
                      ^
/Users/admin/builder/spi-builder-workspace/KYPhotoLibrary/Sources/Asset/KYPhotoLibrary+AssetURL.swift:12:1: note: add @available attribute to enclosing extension
extension KYPhotoLibrary {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm