The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build EmailLink, reference 1.0.3 (fe8065), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:22:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/joe-scotto/EmailLink.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/joe-scotto/EmailLink
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at fe80651 Rename LICENSE to LICENSE.md
Cloned https://github.com/joe-scotto/EmailLink.git
Revision (git rev-parse @):
fe80651f9c8158d4bcfe1f31a1d070fb41a0d0a9
SUCCESS checkout https://github.com/joe-scotto/EmailLink.git at 1.0.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "emaillink",
      "name": "EmailLink",
      "url": "https://github.com/joe-scotto/EmailLink.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EmailLink",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/joe-scotto/EmailLink.git
[1/183] Fetching emaillink
Fetched https://github.com/joe-scotto/EmailLink.git from cache (0.64s)
Creating working copy for https://github.com/joe-scotto/EmailLink.git
Working copy of https://github.com/joe-scotto/EmailLink.git resolved at 1.0.3 (fe80651)
warning: '.resolve-product-dependencies': dependency 'emaillink' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/joe-scotto/EmailLink.git
https://github.com/joe-scotto/EmailLink.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "EmailLink",
  "name" : "EmailLink",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "EmailLink",
      "targets" : [
        "EmailLink"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "EmailLink",
      "module_type" : "SwiftTarget",
      "name" : "EmailLink",
      "path" : "Sources/EmailLink",
      "product_memberships" : [
        "EmailLink"
      ],
      "sources" : [
        "EmailLink.swift",
        "Internal/EmailClient.swift",
        "Internal/URLSchemes.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling EmailLink EmailClient.swift
[4/6] Compiling EmailLink URLSchemes.swift
[5/6] Emitting module EmailLink
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:3:31: error: 'ActionSheet' is unavailable in macOS
  1 | import SwiftUI
  2 |
  3 | typealias ActionSheetButton = ActionSheet.Button
    |                               `- error: 'ActionSheet' is unavailable in macOS
  4 |
  5 | public struct EmailLink<Content: View>: View {
SwiftUI.ActionSheet:6:15: note: 'ActionSheet' has been explicitly marked unavailable here
4 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
5 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
6 | public struct ActionSheet {
  |               `- note: 'ActionSheet' has been explicitly marked unavailable here
7 |     public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()])
8 |     public typealias Button = Alert.Button
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  7 |
  8 |     private let label: Content
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:77: error: cannot find type 'UIColor' in scope
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |                                                                             `- error: cannot find type 'UIColor' in scope
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:101: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |            |                                                                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 85 |         Button(action: {
 86 |             if getAvailableClients().count > 2 {
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:5:34: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               |                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
[6/6] Compiling EmailLink EmailLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:3:31: error: 'ActionSheet' is unavailable in macOS
  1 | import SwiftUI
  2 |
  3 | typealias ActionSheetButton = ActionSheet.Button
    |                               `- error: 'ActionSheet' is unavailable in macOS
  4 |
  5 | public struct EmailLink<Content: View>: View {
SwiftUI.ActionSheet:6:15: note: 'ActionSheet' has been explicitly marked unavailable here
4 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
5 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
6 | public struct ActionSheet {
  |               `- note: 'ActionSheet' has been explicitly marked unavailable here
7 |     public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()])
8 |     public typealias Button = Alert.Button
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  7 |
  8 |     private let label: Content
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:77: error: cannot find type 'UIColor' in scope
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |                                                                             `- error: cannot find type 'UIColor' in scope
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:101: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |            |                                                                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 85 |         Button(action: {
 86 |             if getAvailableClients().count > 2 {
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:5:34: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               |                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:81:9: error: cannot find 'UIView' in scope
 79 |
 80 |         // Force color for ActionSheet
 81 |         UIView.appearance(whenContainedInInstancesOf: [UIAlertController.self]).tintColor = color
    |         `- error: cannot find 'UIView' in scope
 82 |     }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:81:56: error: cannot find 'UIAlertController' in scope
 79 |
 80 |         // Force color for ActionSheet
 81 |         UIView.appearance(whenContainedInInstancesOf: [UIAlertController.self]).tintColor = color
    |                                                        `- error: cannot find 'UIAlertController' in scope
 82 |     }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:91:24: error: cannot find 'UIApplication' in scope
 89 |                 // Only open first found
 90 |                 for client in clients {
 91 |                     if UIApplication.shared.canOpenURL(client.value.url) {
    |                        `- error: cannot find 'UIApplication' in scope
 92 |                         UIApplication.shared.open(client.value.url)
 93 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:92:25: error: cannot find 'UIApplication' in scope
 90 |                 for client in clients {
 91 |                     if UIApplication.shared.canOpenURL(client.value.url) {
 92 |                         UIApplication.shared.open(client.value.url)
    |                         `- error: cannot find 'UIApplication' in scope
 93 |                     }
 94 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:116:21: error: cannot find 'UIApplication' in scope
114 |             , action: {
115 |                 if let url = clients[client]?.url {
116 |                     UIApplication.shared.open(url)
    |                     `- error: cannot find 'UIApplication' in scope
117 |                 }
118 |             }))
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:130:56: error: cannot find 'UIApplication' in scope
128 |
129 |         for scheme in URLSchemes.allCases {
130 |             if let url = URL(string: scheme.rawValue), UIApplication.shared.canOpenURL(url) {
    |                                                        `- error: cannot find 'UIApplication' in scope
131 |                 availableClients.append(scheme)
132 |             }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling EmailLink EmailClient.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling EmailLink URLSchemes.swift
[4/5] Emitting module EmailLink
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:3:31: error: 'ActionSheet' is unavailable in macOS
  1 | import SwiftUI
  2 |
  3 | typealias ActionSheetButton = ActionSheet.Button
    |                               `- error: 'ActionSheet' is unavailable in macOS
  4 |
  5 | public struct EmailLink<Content: View>: View {
SwiftUI.ActionSheet:6:15: note: 'ActionSheet' has been explicitly marked unavailable here
4 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
5 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
6 | public struct ActionSheet {
  |               `- note: 'ActionSheet' has been explicitly marked unavailable here
7 |     public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()])
8 |     public typealias Button = Alert.Button
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  7 |
  8 |     private let label: Content
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:77: error: cannot find type 'UIColor' in scope
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |                                                                             `- error: cannot find type 'UIColor' in scope
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:101: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |            |                                                                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 85 |         Button(action: {
 86 |             if getAvailableClients().count > 2 {
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:5:34: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               |                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
[5/5] Compiling EmailLink EmailLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:3:31: error: 'ActionSheet' is unavailable in macOS
  1 | import SwiftUI
  2 |
  3 | typealias ActionSheetButton = ActionSheet.Button
    |                               `- error: 'ActionSheet' is unavailable in macOS
  4 |
  5 | public struct EmailLink<Content: View>: View {
SwiftUI.ActionSheet:6:15: note: 'ActionSheet' has been explicitly marked unavailable here
4 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
5 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use `View.confirmationDialog(title:isPresented:titleVisibility:presenting:actions:)`instead.")
6 | public struct ActionSheet {
  |               `- note: 'ActionSheet' has been explicitly marked unavailable here
7 |     public init(title: Text, message: Text? = nil, buttons: [ActionSheet.Button] = [.cancel()])
8 |     public typealias Button = Alert.Button
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
  7 |
  8 |     private let label: Content
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:77: error: cannot find type 'UIColor' in scope
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |                                                                             `- error: cannot find type 'UIColor' in scope
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:11:101: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
  9 |     private let clients: [URLSchemes: EmailClient]
 10 |
 11 |     public init(to: String, subject: String = "", body: String = "", color: UIColor = .systemBlue, @ViewBuilder label: () -> Content) {
    |            |                                                                                        `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 12 |         // Ensure Info.plist includes required keys
 13 |         Self.checkInfoDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:84:27: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
    :
 82 |     }
 83 |
 84 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 85 |         Button(action: {
 86 |             if getAvailableClients().count > 2 {
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:5:34: error: 'View' is only available in macOS 10.15 or newer
  3 | typealias ActionSheetButton = ActionSheet.Button
  4 |
  5 | public struct EmailLink<Content: View>: View {
    |               |                  `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 |     @State private var showAlert = false
  7 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:81:9: error: cannot find 'UIView' in scope
 79 |
 80 |         // Force color for ActionSheet
 81 |         UIView.appearance(whenContainedInInstancesOf: [UIAlertController.self]).tintColor = color
    |         `- error: cannot find 'UIView' in scope
 82 |     }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:81:56: error: cannot find 'UIAlertController' in scope
 79 |
 80 |         // Force color for ActionSheet
 81 |         UIView.appearance(whenContainedInInstancesOf: [UIAlertController.self]).tintColor = color
    |                                                        `- error: cannot find 'UIAlertController' in scope
 82 |     }
 83 |
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:91:24: error: cannot find 'UIApplication' in scope
 89 |                 // Only open first found
 90 |                 for client in clients {
 91 |                     if UIApplication.shared.canOpenURL(client.value.url) {
    |                        `- error: cannot find 'UIApplication' in scope
 92 |                         UIApplication.shared.open(client.value.url)
 93 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:92:25: error: cannot find 'UIApplication' in scope
 90 |                 for client in clients {
 91 |                     if UIApplication.shared.canOpenURL(client.value.url) {
 92 |                         UIApplication.shared.open(client.value.url)
    |                         `- error: cannot find 'UIApplication' in scope
 93 |                     }
 94 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:116:21: error: cannot find 'UIApplication' in scope
114 |             , action: {
115 |                 if let url = clients[client]?.url {
116 |                     UIApplication.shared.open(url)
    |                     `- error: cannot find 'UIApplication' in scope
117 |                 }
118 |             }))
/Users/admin/builder/spi-builder-workspace/Sources/EmailLink/EmailLink.swift:130:56: error: cannot find 'UIApplication' in scope
128 |
129 |         for scheme in URLSchemes.allCases {
130 |             if let url = URL(string: scheme.rawValue), UIApplication.shared.canOpenURL(url) {
    |                                                        `- error: cannot find 'UIApplication' in scope
131 |                 availableClients.append(scheme)
132 |             }
BUILD FAILURE 6.1 macosSpm