The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SolicitReviewLibrary, reference 1.8.0 (01bf76), with Swift 6.1 for macOS (SPM) on 15 Jan 2026 23:51:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/higracehuang/SolicitReviewLibrary.git
Reference: 1.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/higracehuang/SolicitReviewLibrary
 * tag               1.8.0      -> FETCH_HEAD
HEAD is now at 01bf76f Added requestReviewDaily
Cloned https://github.com/higracehuang/SolicitReviewLibrary.git
Revision (git rev-parse @):
01bf76f2edad754b094639205d2eda57f1f25131
SUCCESS checkout https://github.com/higracehuang/SolicitReviewLibrary.git at 1.8.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/higracehuang/SolicitReviewLibrary.git
https://github.com/higracehuang/SolicitReviewLibrary.git
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "SolicitReviewLibrary",
  "name" : "SolicitReviewLibrary",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SolicitReviewLibrary",
      "targets" : [
        "SolicitReviewLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SolicitReviewLibraryTests",
      "module_type" : "SwiftTarget",
      "name" : "SolicitReviewLibraryTests",
      "path" : "Tests/SolicitReviewLibraryTests",
      "sources" : [
        "SolicitReviewLibraryTests.swift"
      ],
      "target_dependencies" : [
        "SolicitReviewLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SolicitReviewLibrary",
      "module_type" : "SwiftTarget",
      "name" : "SolicitReviewLibrary",
      "path" : "Sources/SolicitReviewLibrary",
      "product_memberships" : [
        "SolicitReviewLibrary"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Resources/de.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Resources/ja.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Resources/zh-Hans.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hans"
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Resources/zh-Hant.lproj/Localizable.strings",
          "rule" : {
            "process" : {
              "localization" : "zh-hant"
            }
          }
        }
      ],
      "sources" : [
        "Bundle+Extensions.swift",
        "Bundle+Module.swift",
        "Logger.swift",
        "RateAppLinkView.swift",
        "SolicitReviewLibrary.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/7] Write sources
[0/7] Copying Info.plist
[2/7] Copying Localizable.strings
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/14] Compiling SolicitReviewLibrary resource_bundle_accessor.swift
[9/14] Compiling SolicitReviewLibrary Logger.swift
[10/14] Compiling SolicitReviewLibrary RateAppLinkView.swift
[11/14] Compiling SolicitReviewLibrary Bundle+Module.swift
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Bundle+Module.swift:6:16: warning: static property 'moduleBundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | extension Foundation.Bundle {
 6 |     static var moduleBundle: Bundle = {
   |                |- warning: static property 'moduleBundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'moduleBundle' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'moduleBundle' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         let bundleName = "SolicitReviewLibrary_SolicitReviewLibrary"
 8 |
[12/14] Compiling SolicitReviewLibrary Bundle+Extensions.swift
[13/14] Emitting module SolicitReviewLibrary
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/Bundle+Module.swift:6:16: warning: static property 'moduleBundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 4 |
 5 | extension Foundation.Bundle {
 6 |     static var moduleBundle: Bundle = {
   |                |- warning: static property 'moduleBundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'moduleBundle' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'moduleBundle' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |         let bundleName = "SolicitReviewLibrary_SolicitReviewLibrary"
 8 |
[14/14] Compiling SolicitReviewLibrary SolicitReviewLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:117:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
    |                     `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |         alert.messageText = PromptStrings.title
119 |         alert.informativeText = PromptStrings.message
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:118:15: warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
    |               `- warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
119 |         alert.informativeText = PromptStrings.message
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:71:28: note: mutation of this property is only permitted within the actor
 69 | /// The text that is displayed prominently in the alert.
 70 | /// - Note: Use this string to get the user’s attention and communicate the reason for displaying the alert.
 71 | @property (copy) NSString *messageText;
    |                            `- note: mutation of this property is only permitted within the actor
 72 |
 73 | /// The descriptive text that provides more details about the reason for the alert.
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:119:15: warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
119 |         alert.informativeText = PromptStrings.message
    |               `- warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
121 |         alert.addButton(withTitle: PromptStrings.noButton)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:75:28: note: mutation of this property is only permitted within the actor
 73 | /// The descriptive text that provides more details about the reason for the alert.
 74 | /// - Note: The informative text string is displayed below the message text and is less prominent. Use this string to provide additional context about the reason for the alert or about the actions that the user might take.
 75 | @property (copy) NSString *informativeText;
    |                            `- note: mutation of this property is only permitted within the actor
 76 |
 77 | // MARK: - Accessing a Custom Alert Icon
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:120:15: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
119 |         alert.informativeText = PromptStrings.message
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
    |               `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 |         alert.addButton(withTitle: PromptStrings.noButton)
122 |         alert.buttons.first?.keyEquivalent = "\r"
AppKit.NSAlert.addButton:2:22: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func addButton(withTitle title: String) -> NSButton}
  |                      `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:121:15: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
119 |         alert.informativeText = PromptStrings.message
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
121 |         alert.addButton(withTitle: PromptStrings.noButton)
    |               `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |         alert.buttons.first?.keyEquivalent = "\r"
123 |
AppKit.NSAlert.addButton:2:22: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func addButton(withTitle title: String) -> NSButton}
  |                      `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:122:30: warning: main actor-isolated property 'keyEquivalent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
    :
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
121 |         alert.addButton(withTitle: PromptStrings.noButton)
122 |         alert.buttons.first?.keyEquivalent = "\r"
    |                              `- warning: main actor-isolated property 'keyEquivalent' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 |
124 |         if alert.runModal() == .alertFirstButtonReturn {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:162:28: note: mutation of this property is only permitted within the actor
160 |
161 | /*! This property contains the button's key equivalent, or the empty string if no equivalent has been defined. Buttons don’t have a default key equivalent. Setting the key equivalent to the Return character causes it to act as the default button for its window. */
162 | @property (copy) NSString *keyEquivalent;
    |                            `- note: mutation of this property is only permitted within the actor
163 |
164 | /*! A bitmask specifying the modifier keys that are applied to the button's key equivalent. Mask bits are defined by the NSEventModifierFlags option set. The only mask bits relevant in button key-equivalent modifier masks are NSEventModifierFlagControl, NSEventModifierFlagOption, and NSEventModifierFlagCommand. */
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:122:15: warning: main actor-isolated property 'buttons' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
    :
120 |         alert.addButton(withTitle: PromptStrings.yesButton)
121 |         alert.addButton(withTitle: PromptStrings.noButton)
122 |         alert.buttons.first?.keyEquivalent = "\r"
    |               `- warning: main actor-isolated property 'buttons' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 |
124 |         if alert.runModal() == .alertFirstButtonReturn {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAlert.h:100:49: note: mutation of this property is only permitted within the actor
 98 | /// The array of response buttons for the alert.
 99 | /// The buttons are in the order in which they were added, and do not necessarily reflect the order they are arranged visually. The array does not include the default “OK” button that is shown in an alert presented without any buttons added with `-addButtonWithTitle:`.
100 | @property (readonly, copy) NSArray<NSButton *> *buttons;
    |                                                 `- note: mutation of this property is only permitted within the actor
101 |
102 | // MARK: - Configuring Alerts
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:124:18: warning: call to main actor-isolated instance method 'runModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | #elseif os(macOS)
115 |
116 |     private func askForReview(withHandler handler: @escaping () -> Void) {
    |                  `- note: add '@MainActor' to make instance method 'askForReview(withHandler:)' part of global actor 'MainActor'
117 |         let alert = NSAlert()
118 |         alert.messageText = PromptStrings.title
    :
122 |         alert.buttons.first?.keyEquivalent = "\r"
123 |
124 |         if alert.runModal() == .alertFirstButtonReturn {
    |                  `- warning: call to main actor-isolated instance method 'runModal()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |             handler()
126 |         }
AppKit.NSAlert.runModal:2:22: note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
1 | class NSAlert {
2 | @MainActor open func runModal() -> NSApplication.ModalResponse}
  |                      `- note: calls to instance method 'runModal()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:170:24: error: cannot find 'UIActivityViewController' in scope
168 |       let appURL = getShareURL(appStoreId: appStoreId)!
169 |       let shareText = "Check out this amazing app: \(Bundle.main.appName)! Download it here: \(appURL)"
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
    |                        `- error: cannot find 'UIActivityViewController' in scope
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:170:100: error: 'nil' requires a contextual type
168 |       let appURL = getShareURL(appStoreId: appStoreId)!
169 |       let shareText = "Check out this amazing app: \(Bundle.main.appName)! Download it here: \(appURL)"
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
    |                                                                                                    `- error: 'nil' requires a contextual type
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:172:28: error: cannot find 'UIApplication' in scope
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                            `- error: cannot find 'UIApplication' in scope
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:172:75: error: cannot find type 'UIWindowScene' in scope
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                                                                           `- error: cannot find type 'UIWindowScene' in scope
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:174:64: error: 'nil' requires a contextual type
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
    |                                                                `- error: 'nil' requires a contextual type
175 |       }
176 |     }
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/8] Compiling SolicitReviewLibrary resource_bundle_accessor.swift
[3/8] Compiling SolicitReviewLibrary Logger.swift
[4/8] Compiling SolicitReviewLibrary Bundle+Extensions.swift
[5/8] Compiling SolicitReviewLibrary Bundle+Module.swift
[6/8] Compiling SolicitReviewLibrary RateAppLinkView.swift
[7/8] Emitting module SolicitReviewLibrary
[8/8] Compiling SolicitReviewLibrary SolicitReviewLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:170:24: error: cannot find 'UIActivityViewController' in scope
168 |       let appURL = getShareURL(appStoreId: appStoreId)!
169 |       let shareText = "Check out this amazing app: \(Bundle.main.appName)! Download it here: \(appURL)"
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
    |                        `- error: cannot find 'UIActivityViewController' in scope
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:170:100: error: 'nil' requires a contextual type
168 |       let appURL = getShareURL(appStoreId: appStoreId)!
169 |       let shareText = "Check out this amazing app: \(Bundle.main.appName)! Download it here: \(appURL)"
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
    |                                                                                                    `- error: 'nil' requires a contextual type
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:172:28: error: cannot find 'UIApplication' in scope
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                            `- error: cannot find 'UIApplication' in scope
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:172:75: error: cannot find type 'UIWindowScene' in scope
170 |       let activityVC = UIActivityViewController(activityItems: [shareText], applicationActivities: nil)
171 |
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
    |                                                                           `- error: cannot find type 'UIWindowScene' in scope
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
/Users/admin/builder/spi-builder-workspace/Sources/SolicitReviewLibrary/SolicitReviewLibrary.swift:174:64: error: 'nil' requires a contextual type
172 |       if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene,
173 |          let rootVC = windowScene.windows.first?.rootViewController {
174 |         rootVC.present(activityVC, animated: true, completion: nil)
    |                                                                `- error: 'nil' requires a contextual type
175 |       }
176 |     }
BUILD FAILURE 6.1 macosSpm