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 sharelink-for-swiftui, reference main (13ba82), with Swift 5.9 for macOS (SPM) on 14 Sep 2024 19:40:26 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/sharelink-for-swiftui.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/igor11191708/sharelink-for-swiftui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13ba82b Create .spi.yml
Cloned https://github.com/igor11191708/sharelink-for-swiftui.git
Revision (git rev-parse @):
13ba82b505b4e6e80b1227563e85b0a9291dad87
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/sharelink-for-swiftui.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/igor11191708/sharelink-for-swiftui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/9] Compiling sharelink_for_swiftui ActivitySheetController.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:24:26: error: method does not override any method from its superclass
    public override func viewWillAppear(_ animated: Bool) {
           ~~~~~~~~      ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:13:38: error: cannot find type 'UIActivityViewController' in scope
final class ActivitySheetController: UIActivityViewController {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:25:9: error: 'super' members cannot be referenced in a root class
        super.viewWillAppear(animated)
        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:28:35: error: cannot find 'sheetPresentationController' in scope
            if let presentation = sheetPresentationController {
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:29:42: error: type 'Any' has no member 'medium'
                presentation.detents = [.medium(), .large()]
                                        ~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:29:53: error: type 'Any' has no member 'large'
                presentation.detents = [.medium(), .large()]
                                                   ~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:34:13: error: cannot find 'modalPresentationStyle' in scope
            modalPresentationStyle = .overFullScreen
            ^~~~~~~~~~~~~~~~~~~~~~
[2/9] Compiling sharelink_for_swiftui AttributedStringBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:16:23: error: cannot find type 'UIFont' in scope
    private var font: UIFont = UIFont.systemFont(ofSize: 12)
                      ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:17:34: error: cannot find type 'UIColor' in scope
    private var foregroundColor: UIColor = .black
                                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:28: error: cannot find type 'CGFloat' in scope
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                           ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:45: error: cannot find type 'UIFont' in scope
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                                            ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:34:38: error: cannot find type 'UIColor' in scope
    func setForegroundColor(_ color: UIColor) -> AttributedStringBuilder {
                                     ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:43:38: error: cannot find type 'NSAttributedString' in scope
    func build(with text: String) -> NSAttributedString {
                                     ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:26:21: error: cannot find 'UIFont' in scope
        self.font = UIFont.systemFont(ofSize: fontSize, weight: weight)
                    ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:44:26: error: cannot find type 'NSAttributedString' in scope
        let attributes: [NSAttributedString.Key: Any] = [
                         ^~~~~~~~~~~~~~~~~~
[3/9] Compiling sharelink_for_swiftui TransportableItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:46:25: error: cannot find type 'UIImage' in scope
    init(item: T, icon: UIImage? = nil, title: String? = nil) {
                        ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:23:23: error: cannot find type 'UIImage' in scope
    private let icon: UIImage?
                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:36:18: error: cannot find type 'UIImage' in scope
    var getIcon: UIImage? {
                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:57:81: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> Any {
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:67:66: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivity.ActivityType?) -> Any? {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:67:126: error: cannot find type 'UIActivity' in scope
    public func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivity.ActivityType?) -> Any? {
                                                                                                                             ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:78: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:107: error: 'LPLinkMetadata' is only available in macOS 10.15 or newer
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:17: note: add @available attribute to enclosing instance method
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:13: note: add @available attribute to enclosing generic class
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:60: error: cannot find type 'UIActivityItemSource' in scope
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                                                           ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:76:24: error: 'LPLinkMetadata' is only available in macOS 10.15 or newer
        let metadata = LPLinkMetadata()
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:76:24: note: add 'if #available' version check
        let metadata = LPLinkMetadata()
                       ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:17: note: add @available attribute to enclosing instance method
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:13: note: add @available attribute to enclosing generic class
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:81:39: error: cannot find type 'UIImage' in scope
        } else if let icon = item as? UIImage {
                                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:86:33: error: cannot find type 'UIImage' in scope
        if let image = item as? UIImage {
                                ^~~~~~~
[4/9] Compiling sharelink_for_swiftui PrintFormatters.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:18:64: error: cannot find type 'UISimpleTextPrintFormatter' in scope
func printStringFormatter(_ value: String, _ title: String) -> UISimpleTextPrintFormatter {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:47: error: cannot find type 'UIViewPrintFormatter' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                              ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:35: error: cannot find type 'UIImage' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                  ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:28: error: cannot find type 'CGFloat' in scope
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                           ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:45: error: cannot find type 'UIFont' in scope
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                                            ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:21:41: error: cannot infer contextual base in reference to member 'bold'
        .setFont(fontSize: 50, weight: .bold)
                                       ~^~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:22:30: error: cannot infer contextual base in reference to member 'black'
        .setForegroundColor(.black)
                            ~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:25:18: error: cannot find 'NSMutableAttributedString' in scope
    let result = NSMutableAttributedString()
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:32:34: error: cannot infer contextual base in reference to member 'black'
            .setForegroundColor(.black)
                                ~^~~~~
[5/9] Compiling sharelink_for_swiftui TransportableItemBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:30:23: error: cannot find type 'UIImage' in scope
    private var icon: UIImage?
                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:57:33: error: cannot find type 'UIImage' in scope
    public func setIcon(_ icon: UIImage?) -> TransportableItemBuilder {
                                ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:162:93: error: cannot find type 'UISimpleTextPrintFormatter' in scope
fileprivate func createStringFormatter<T: Transportable>(item: T, resolvedTitle: String) -> UISimpleTextPrintFormatter {
                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:92:30: error: cannot find type 'UIImage' in scope
            case let item as UIImage:
                             ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:46:25: error: cannot find type 'UIImage' in scope
    init(item: T, icon: UIImage? = nil, title: String? = nil) {
                        ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:89:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:89:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:91:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item.absoluteString, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:91:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item.absoluteString, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:93:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:93:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:95:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:95:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:97:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item.string, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:97:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item.string, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:100:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: locationURLString, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:100:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: locationURLString, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:102:25: error: generic parameter 'T' could not be inferred
                return [TransportableItem(item: item.description, icon: icon, title: resolvedTitle)]
                        ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:31: note: 'T' declared as parameter to type 'TransportableItem'
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:102:25: note: explicitly specify the generic arguments to fix this issue
                return [TransportableItem(item: item.description, icon: icon, title: resolvedTitle)]
                        ^
                                         <<#T: Transportable#>>
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:116:37: error: cannot find type 'UIImage' in scope
        if let imageItem = item as? UIImage {
                                    ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:47: error: cannot find type 'UIViewPrintFormatter' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                              ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:35: error: cannot find type 'UIImage' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                  ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:142:22: error: cannot find type 'UIImage' in scope
    case let item as UIImage:
                     ^~~~~~~
[6/9] Compiling sharelink_for_swiftui Transportable.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/protocol/Transportable.swift:33:11: error: cannot find type 'UIImage' in scope
extension UIImage: Transportable {
          ^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module sharelink_for_swiftui
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
    @State private var isPresented: Bool = false
     ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:27:41: error: cannot find type 'UIActivity' in scope
    private let applicationActivities: [UIActivity]?
                                        ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:30:41: error: cannot find type 'UIActivity' in scope
    private let excludedActivityTypes: [UIActivity.ActivityType]?
                                        ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:44:15: error: cannot find type 'UIImage' in scope
        icon: UIImage? = nil,
              ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:47:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:48:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:49:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
        @ViewBuilder label: @escaping () -> Label
         ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:42:12: note: add @available attribute to enclosing initializer
    public init<T: Transportable>(
           ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:70:21: error: cannot find type 'UIActivityItemSource' in scope
        itemSource: UIActivityItemSource,
                    ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:71:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:72:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:73:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
        @ViewBuilder label: @escaping () -> Label
         ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:69:12: note: add @available attribute to enclosing initializer
    public init(
           ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:82:27: error: 'View' is only available in macOS 10.15 or newer
    public var body: some View {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:82:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:38: error: 'View' is only available in macOS 10.15 or newer
public struct ShareLinkButton<Label: View>: View {
                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/protocol/Transportable.swift:33:11: error: cannot find type 'UIImage' in scope
extension UIImage: Transportable {
          ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:26:33: error: cannot find type 'UIActivity' in scope
    let applicationActivities: [UIActivity]?
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:29:33: error: cannot find type 'UIActivity' in scope
    let excludedActivityTypes: [UIActivity.ActivityType]?
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:39:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:40:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:51:47: error: cannot find type 'Context' in scope
    public func makeUIViewController(context: Context) -> ActivitySheetController {
                                              ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:63:94: error: cannot find type 'Context' in scope
    public func updateUIViewController(_ uiViewController: ActivitySheetController, context: Context) {}
                                                                                             ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:20:23: error: cannot find type 'UIViewControllerRepresentable' in scope
struct ShareLinkView: UIViewControllerRepresentable {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:24:26: error: method does not override any method from its superclass
    public override func viewWillAppear(_ animated: Bool) {
           ~~~~~~~~      ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/ActivitySheetController.swift:13:38: error: cannot find type 'UIActivityViewController' in scope
final class ActivitySheetController: UIActivityViewController {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:46:25: error: cannot find type 'UIImage' in scope
    init(item: T, icon: UIImage? = nil, title: String? = nil) {
                        ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:23:23: error: cannot find type 'UIImage' in scope
    private let icon: UIImage?
                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:36:18: error: cannot find type 'UIImage' in scope
    var getIcon: UIImage? {
                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:57:81: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> Any {
                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:67:66: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivity.ActivityType?) -> Any? {
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:67:126: error: cannot find type 'UIActivity' in scope
    public func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivity.ActivityType?) -> Any? {
                                                                                                                             ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:78: error: cannot find type 'UIActivityViewController' in scope
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:107: error: 'LPLinkMetadata' is only available in macOS 10.15 or newer
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                                                                                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:75:17: note: add @available attribute to enclosing instance method
    public func activityViewControllerLinkMetadata(_ activityViewController: UIActivityViewController) -> LPLinkMetadata? {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:13: note: add @available attribute to enclosing generic class
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
            ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/uikit/TransportableItem.swift:15:60: error: cannot find type 'UIActivityItemSource' in scope
final class TransportableItem<T: Transportable>: NSObject, UIActivityItemSource {
                                                           ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:16:23: error: cannot find type 'UIFont' in scope
    private var font: UIFont = UIFont.systemFont(ofSize: 12)
                      ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:17:34: error: cannot find type 'UIColor' in scope
    private var foregroundColor: UIColor = .black
                                 ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:28: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                           ^~~~~~~
                           CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:25:45: error: cannot find type 'UIFont' in scope
    func setFont(fontSize: CGFloat, weight: UIFont.Weight = .regular) -> AttributedStringBuilder {
                                            ^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:34:38: error: cannot find type 'UIColor' in scope
    func setForegroundColor(_ color: UIColor) -> AttributedStringBuilder {
                                     ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/AttributedStringBuilder.swift:43:38: error: cannot find type 'NSAttributedString' in scope
    func build(with text: String) -> NSAttributedString {
                                     ^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:18:64: error: cannot find type 'UISimpleTextPrintFormatter' in scope
func printStringFormatter(_ value: String, _ title: String) -> UISimpleTextPrintFormatter {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:47: error: cannot find type 'UIViewPrintFormatter' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                              ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/PrintFormatters.swift:45:35: error: cannot find type 'UIImage' in scope
func printImageFormatter(_ value: UIImage) -> UIViewPrintFormatter {
                                  ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:30:23: error: cannot find type 'UIImage' in scope
    private var icon: UIImage?
                      ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:57:33: error: cannot find type 'UIImage' in scope
    public func setIcon(_ icon: UIImage?) -> TransportableItemBuilder {
                                ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:162:93: error: cannot find type 'UISimpleTextPrintFormatter' in scope
fileprivate func createStringFormatter<T: Transportable>(item: T, resolvedTitle: String) -> UISimpleTextPrintFormatter {
                                                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
[8/9] Compiling sharelink_for_swiftui ShareLinkButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
    @State private var isPresented: Bool = false
     ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:27:41: error: cannot find type 'UIActivity' in scope
    private let applicationActivities: [UIActivity]?
                                        ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:30:41: error: cannot find type 'UIActivity' in scope
    private let excludedActivityTypes: [UIActivity.ActivityType]?
                                        ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:44:15: error: cannot find type 'UIImage' in scope
        icon: UIImage? = nil,
              ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:47:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:48:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:49:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
        @ViewBuilder label: @escaping () -> Label
         ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:42:12: note: add @available attribute to enclosing initializer
    public init<T: Transportable>(
           ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:70:21: error: cannot find type 'UIActivityItemSource' in scope
        itemSource: UIActivityItemSource,
                    ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:71:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:72:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:73:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
        @ViewBuilder label: @escaping () -> Label
         ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:69:12: note: add @available attribute to enclosing initializer
    public init(
           ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:82:27: error: 'View' is only available in macOS 10.15 or newer
    public var body: some View {
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:82:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:38: error: 'View' is only available in macOS 10.15 or newer
public struct ShareLinkButton<Label: View>: View {
                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/ShareLinkButton.swift:15:15: note: add @available attribute to enclosing generic struct
public struct ShareLinkButton<Label: View>: View {
              ^
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/utils/TransportableItemBuilder.swift:57:33: error: cannot find type 'UIImage' in scope
    public func setIcon(_ icon: UIImage?) -> TransportableItemBuilder {
                                ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:39:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:40:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil
                                ^~~~~~~~~~
[9/9] Compiling sharelink_for_swiftui ShareLinkView.swift
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:26:33: error: cannot find type 'UIActivity' in scope
    let applicationActivities: [UIActivity]?
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:29:33: error: cannot find type 'UIActivity' in scope
    let excludedActivityTypes: [UIActivity.ActivityType]?
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:39:33: error: cannot find type 'UIActivity' in scope
        applicationActivities: [UIActivity]? = nil,
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:40:33: error: cannot find type 'UIActivity' in scope
        excludedActivityTypes: [UIActivity.ActivityType]? = nil
                                ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:51:47: error: cannot find type 'Context' in scope
    public func makeUIViewController(context: Context) -> ActivitySheetController {
                                              ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:63:94: error: cannot find type 'Context' in scope
    public func updateUIViewController(_ uiViewController: ActivitySheetController, context: Context) {}
                                                                                             ^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:20:23: error: cannot find type 'UIViewControllerRepresentable' in scope
struct ShareLinkView: UIViewControllerRepresentable {
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:52:49: error: argument passed to call that takes no arguments
        let controller = ActivitySheetController(activityItems: data, applicationActivities: applicationActivities)
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/Users/admin/builder/spi-builder-workspace/Sources/sharelink-for-swiftui/swiftui/ShareLinkView.swift:54:46: error: cannot infer contextual base in reference to member 'popover'
        controller.modalPresentationStyle = .popover
                                            ~^~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm