The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUIContactPicker, reference main (e22b12), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 01:57:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pykaso/SwiftUI_ContactPicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pykaso/SwiftUI_ContactPicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e22b127 fixed dark header appearance
Cloned https://github.com/pykaso/SwiftUI_ContactPicker.git
Revision (git rev-parse @):
e22b1275aa0b441d6e1329669f668e8b29c7b628
SUCCESS checkout https://github.com/pykaso/SwiftUI_ContactPicker.git at main
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftui_contactpicker",
      "name": "SwiftUIContactPicker",
      "url": "https://github.com/pykaso/SwiftUI_ContactPicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI_ContactPicker",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pykaso/SwiftUI_ContactPicker.git
[1/172] Fetching swiftui_contactpicker
Fetched https://github.com/pykaso/SwiftUI_ContactPicker.git from cache (0.73s)
Creating working copy for https://github.com/pykaso/SwiftUI_ContactPicker.git
Working copy of https://github.com/pykaso/SwiftUI_ContactPicker.git resolved at main (e22b127)
warning: '.resolve-product-dependencies': dependency 'swiftui_contactpicker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pykaso/SwiftUI_ContactPicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Media.xcassets
[2/3] Write swift-version--6988338F2F200930.txt
[4/13] Compiling SwiftUIContactPicker resource_bundle_accessor.swift
[5/13] Compiling SwiftUIContactPicker ContactPickerHeaderView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     public let onCancel: (() -> Void)?
 6 |     public let l10n: ContactPickerConfiguration.L10n
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
 5 |     public let onCancel: (() -> Void)?
 6 |     public let l10n: ContactPickerConfiguration.L10n
 7 |
 8 |     @State private var showCancelButton: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |
10 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:10:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
 5 |     public let onCancel: (() -> Void)?
   :
 8 |     @State private var showCancelButton: Bool = false
 9 |
10 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
11 |         VStack(spacing: 0) {
12 |             if !showCancelButton {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:81:48: error: 'View' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:61:25: error: cannot find 'UIApplication' in scope
59 |                     Button(l10n.cancelButton, action: {
60 |                         text = ""
61 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                         `- error: cannot find 'UIApplication' in scope
62 |                     })
63 |                         .accentColor(Color.Theme.primaryTint)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:61:67: error: cannot find 'UIResponder' in scope
59 |                     Button(l10n.cancelButton, action: {
60 |                         text = ""
61 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                   `- error: cannot find 'UIResponder' in scope
62 |                     })
63 |                         .accentColor(Color.Theme.primaryTint)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:61:106: error: 'nil' requires a contextual type
59 |                     Button(l10n.cancelButton, action: {
60 |                         text = ""
61 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                          `- error: 'nil' requires a contextual type
62 |                     })
63 |                         .accentColor(Color.Theme.primaryTint)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:61:117: error: 'nil' requires a contextual type
59 |                     Button(l10n.cancelButton, action: {
60 |                         text = ""
61 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                                     `- error: 'nil' requires a contextual type
62 |                     })
63 |                         .accentColor(Color.Theme.primaryTint)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:61:127: error: 'nil' requires a contextual type
59 |                     Button(l10n.cancelButton, action: {
60 |                         text = ""
61 |                         UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                                               `- error: 'nil' requires a contextual type
62 |                     })
63 |                         .accentColor(Color.Theme.primaryTint)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:82:9: error: 'ZStack' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:82:28: error: 'leading' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
   |                            |- error: 'leading' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:84:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:84:17: error: 'Text' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:85:22: error: 'font' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
   |                      |- error: 'font' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
86 |                     .foregroundColor(Color.gray)
87 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:85:28: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
   |                            |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
86 |                     .foregroundColor(Color.gray)
87 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:86:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
87 |             }
88 |             content
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:86:38: error: 'Color' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
   |                                      |- error: 'Color' is only available in macOS 10.15 or newer
   |                                      `- note: add 'if #available' version check
87 |             }
88 |             content
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:86:44: error: 'gray' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
   |                                            |- error: 'gray' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
87 |             }
88 |             content
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:83:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
   |                                |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                `- note: add 'if #available' version check
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:83:32: error: 'buildIf' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
   |                                |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
84 |                 Text(placeholder)
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
   :
85 |                     .font(.system(size: 17, weight: .regular, design: .default))
86 |                     .foregroundColor(Color.gray)
87 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
88 |             content
89 |         }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:82:37: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
   |                                     |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                     `- note: add 'if #available' version check
83 |             if showPlaceHolder {
84 |                 Text(placeholder)
[6/13] Compiling SwiftUIContactPicker CompactContactRow.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:4:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
   |      `- error: 'State' is only available in macOS 10.15 or newer
 5 |
 6 |     public init(contact: PhoneContact) {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:10:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:7:25: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
 6 |     public init(contact: PhoneContact) {
   |            `- note: add '@available' attribute to enclosing initializer
 7 |         self._contact = State<PhoneContact>(wrappedValue: contact)
   |                         |- error: 'State' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
 8 |     }
 9 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:9: error: 'HStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:14:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
   |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
15 |                 } else {
16 |                     Text(gn)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:14:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
15 |                 } else {
16 |                     Text(gn)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:14:30: error: 'bold()' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
   |                              |- error: 'bold()' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
15 |                 } else {
16 |                     Text(gn)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:13:87: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
   |                                                                                       |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                                                       `- note: add 'if #available' version check
14 |                     Text(gn).bold()
15 |                 } else {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:13:87: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
   |                                                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                                       `- note: add 'if #available' version check
14 |                     Text(gn).bold()
15 |                 } else {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:16:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
14 |                     Text(gn).bold()
15 |                 } else {
16 |                     Text(gn)
   |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
17 |                 }
18 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:16:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
14 |                     Text(gn).bold()
15 |                 } else {
16 |                     Text(gn)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
17 |                 }
18 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:15:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
15 |                 } else {
   |                        |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
16 |                     Text(gn)
17 |                 }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:15:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
15 |                 } else {
   |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
16 |                     Text(gn)
17 |                 }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:12:43: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   |                                           |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                           `- note: add 'if #available' version check
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:12:43: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   |                                           |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
14 |                     Text(gn).bold()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:18:13: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
16 |                     Text(gn)
17 |                 }
18 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |             if let mn = contact.middleName {
20 |                 Text(mn)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:20:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
18 |             }
19 |             if let mn = contact.middleName {
20 |                 Text(mn)
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
21 |             }
22 |             if let fn = contact.familyName {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:20:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
18 |             }
19 |             if let mn = contact.middleName {
20 |                 Text(mn)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
21 |             }
22 |             if let fn = contact.familyName {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:19:44: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
17 |                 }
18 |             }
19 |             if let mn = contact.middleName {
   |                                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
20 |                 Text(mn)
21 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:19:44: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
17 |                 }
18 |             }
19 |             if let mn = contact.middleName {
   |                                            |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
20 |                 Text(mn)
21 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:21:13: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
19 |             if let mn = contact.middleName {
20 |                 Text(mn)
21 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |             if let fn = contact.familyName {
23 |                 Text(fn).bold()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:23:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
21 |             }
22 |             if let fn = contact.familyName {
23 |                 Text(fn).bold()
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
24 |             }
25 |             if let ns = contact.nameSuffix {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:23:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
21 |             }
22 |             if let fn = contact.familyName {
23 |                 Text(fn).bold()
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |             }
25 |             if let ns = contact.nameSuffix {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:23:26: error: 'bold()' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
21 |             }
22 |             if let fn = contact.familyName {
23 |                 Text(fn).bold()
   |                          |- error: 'bold()' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
24 |             }
25 |             if let ns = contact.nameSuffix {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:22:44: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
20 |                 Text(mn)
21 |             }
22 |             if let fn = contact.familyName {
   |                                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
23 |                 Text(fn).bold()
24 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:22:44: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
20 |                 Text(mn)
21 |             }
22 |             if let fn = contact.familyName {
   |                                            |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
23 |                 Text(fn).bold()
24 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:24:13: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
22 |             if let fn = contact.familyName {
23 |                 Text(fn).bold()
24 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
25 |             if let ns = contact.nameSuffix {
26 |                 Text(ns)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:26:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
24 |             }
25 |             if let ns = contact.nameSuffix {
26 |                 Text(ns)
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
27 |             }
28 |             Spacer()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:26:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
24 |             }
25 |             if let ns = contact.nameSuffix {
26 |                 Text(ns)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |             Spacer()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:25:44: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
23 |                 Text(fn).bold()
24 |             }
25 |             if let ns = contact.nameSuffix {
   |                                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
26 |                 Text(ns)
27 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:25:44: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
23 |                 Text(fn).bold()
24 |             }
25 |             if let ns = contact.nameSuffix {
   |                                            |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
26 |                 Text(ns)
27 |             }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:27:13: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
25 |             if let ns = contact.nameSuffix {
26 |                 Text(ns)
27 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
28 |             Spacer()
29 |         }.contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:28:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
26 |                 Text(ns)
27 |             }
28 |             Spacer()
   |             |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
29 |         }.contentShape(Rectangle())
30 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:28:13: error: 'Spacer' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
26 |                 Text(ns)
27 |             }
28 |             Spacer()
   |             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
29 |         }.contentShape(Rectangle())
30 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |                            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                            `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |                            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                            `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |                            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                            `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:28: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |                            |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                            `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:11:28: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
   |                            |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                            `- note: add 'if #available' version check
12 |             if let gn = contact.givenName {
13 |                 if contact.familyName == nil || contact.familyName?.isEmpty ?? false  {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:29:11: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
27 |             }
28 |             Spacer()
29 |         }.contentShape(Rectangle())
   |           |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:29:24: error: 'Rectangle' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
   :
27 |             }
28 |             Spacer()
29 |         }.contentShape(Rectangle())
   |                        |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
30 |     }
31 | }
[7/13] Compiling SwiftUIContactPicker PhoneContact.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:33:27: error: cannot find type 'CNContact' in scope
31 |     public var phoneNumber: [String] = [String]()
32 |     public var email: [String] = [String]()
33 |     public var cnContact: CNContact?
   |                           `- error: cannot find type 'CNContact' in scope
34 |
35 |     public var name: String? {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:50:19: error: cannot find type 'CNContact' in scope
48 |     }
49 |
50 |     init(contact: CNContact) {
   |                   `- error: cannot find type 'CNContact' in scope
51 |         id = contact.identifier
52 |         givenName = contact.givenName
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:73:11: error: cannot find type 'CNContact' in scope
71 |
72 |
73 | extension CNContact {
   |           `- error: cannot find type 'CNContact' in scope
74 |     var fullName: String {
75 |         let safeName = [self.givenName, self.middleName , self.familyName].compactMap({ $0 }).joined(separator: " ")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Compiling SwiftUIContactPicker ContactPickerConfiguration.swift
[9/13] Emitting module SwiftUIContactPicker
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:5:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:6:6: error: 'StateObject' is only available in macOS 11.0 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:12:26: error: 'Binding' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
 9 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
10 |         viewModel: ContactPickerViewModel,
11 |         config: ContactPickerConfiguration,
12 |         selectedContact: Binding<PhoneContact?>,
   |                          `- error: 'Binding' is only available in macOS 10.15 or newer
13 |         rowBuilder: ((PhoneContact, ContactPickerView) -> AnyView)? = nil,
14 |         onCancel: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:13:59: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
 9 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
10 |         viewModel: ContactPickerViewModel,
11 |         config: ContactPickerConfiguration,
12 |         selectedContact: Binding<PhoneContact?>,
13 |         rowBuilder: ((PhoneContact, ContactPickerView) -> AnyView)? = nil,
   |                                                           `- error: 'AnyView' is only available in macOS 10.15 or newer
14 |         onCancel: (() -> Void)? = nil
15 |     ) {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:28:81: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   :
26 |     }
27 |
28 |     let rowBuilder: (_ contact: PhoneContact, _ listView: ContactPickerView) -> AnyView
   |                                                                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
29 |     let onCancel: (() -> Void)?
30 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   :
29 |     let onCancel: (() -> Void)?
30 |
31 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
32 |         VStack(alignment: .center, spacing: 0) {
33 |             ContactPickerHeader(text: $viewModel.query, onCancel: onCancel, l10n: cpConfig.l10n)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:75:31: error: 'View' is only available in macOS 10.15 or newer
70 | }
71 |
72 | struct ContactListView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
73 |     static let vm = ContactPickerViewModel(store: StubContactStore())
74 |
75 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
76 |         ContactPickerView(viewModel: vm, config: ContactPickerConfiguration.default, selectedContact: Binding.constant(nil)) { contact, _ in
77 |             AnyView(CompactContactRow(contact: contact))
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
19 |     @Published public var rows: [PhoneContact] = []
20 |     @Published public var groups: [Group] = []
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
19 |     @Published public var rows: [PhoneContact] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
20 |     @Published public var groups: [Group] = []
21 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
19 |     @Published public var rows: [PhoneContact] = []
20 |     @Published public var groups: [Group] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
21 |
22 |     var query: String = "" {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:33:33: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
31 |     let onlyWithPhoneNumber: Bool
32 |
33 |     private let searchSubject = PassthroughSubject<String, Never>()
   |                                 `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
34 |
35 |     private var searchCancellable: Cancellable!
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:35:36: error: 'Cancellable' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
33 |     private let searchSubject = PassthroughSubject<String, Never>()
34 |
35 |     private var searchCancellable: Cancellable!
   |                                    `- error: 'Cancellable' is only available in macOS 10.15 or newer
36 |
37 |     deinit {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:38: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                 `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:46: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                         `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:46: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                         `- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:33: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |            `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:41: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |                    `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:41: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |                    `- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:4:11: error: 'Color' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
 5 |     enum Theme {
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:29:28: error: cannot find type 'CNContact' in scope
27 |     }
28 |
29 |     func getContacts() -> [CNContact] {
   |                            `- error: cannot find type 'CNContact' in scope
30 |         let contactStore = CNContactStore()
31 |         let keysToFetch = [
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:8:28: error: 'ObservableObject' is only available in macOS 10.15 or newer
 6 | }
 7 |
 8 | public class ContactStore: ObservableObject, ContactStoreProvider {
   |              |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing class
 9 |     var contacts: [PhoneContact] = []
10 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:33:27: error: cannot find type 'CNContact' in scope
31 |     public var phoneNumber: [String] = [String]()
32 |     public var email: [String] = [String]()
33 |     public var cnContact: CNContact?
   |                           `- error: cannot find type 'CNContact' in scope
34 |
35 |     public var name: String? {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:50:19: error: cannot find type 'CNContact' in scope
48 |     }
49 |
50 |     init(contact: CNContact) {
   |                   `- error: cannot find type 'CNContact' in scope
51 |         id = contact.identifier
52 |         givenName = contact.givenName
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:73:11: error: cannot find type 'CNContact' in scope
71 |
72 |
73 | extension CNContact {
   |           `- error: cannot find type 'CNContact' in scope
74 |     var fullName: String {
75 |         let safeName = [self.givenName, self.middleName , self.familyName].compactMap({ $0 }).joined(separator: " ")
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:4:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
   |      `- error: 'State' is only available in macOS 10.15 or newer
 5 |
 6 |     public init(contact: PhoneContact) {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/CompactContactRow.swift:10:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct CompactContactRow: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @State var contact: PhoneContact
 5 |
   :
 8 |     }
 9 |
10 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
11 |         HStack(spacing: 2) {
12 |             if let gn = contact.givenName {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     public let onCancel: (() -> Void)?
 6 |     public let l10n: ContactPickerConfiguration.L10n
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
 5 |     public let onCancel: (() -> Void)?
 6 |     public let l10n: ContactPickerConfiguration.L10n
 7 |
 8 |     @State private var showCancelButton: Bool = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |
10 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:10:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct ContactPickerHeader: View {
   |               `- note: add '@available' attribute to enclosing struct
 4 |     @Binding var text: String
 5 |     public let onCancel: (() -> Void)?
   :
 8 |     @State private var showCancelButton: Bool = false
 9 |
10 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
11 |         VStack(spacing: 0) {
12 |             if !showCancelButton {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Views/ContactPickerHeaderView.swift:81:48: error: 'View' is only available in macOS 10.15 or newer
75 | }
76 |
77 | public struct PlaceholderStyle: ViewModifier {
   |               `- note: add '@available' attribute to enclosing struct
78 |     var showPlaceHolder: Bool
79 |     var placeholder: String
80 |
81 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
82 |         ZStack(alignment: .leading) {
83 |             if showPlaceHolder {
[10/13] Compiling SwiftUIContactPicker ContactPickerViewModel.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:18:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
19 |     @Published public var rows: [PhoneContact] = []
20 |     @Published public var groups: [Group] = []
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:19:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
19 |     @Published public var rows: [PhoneContact] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
20 |     @Published public var groups: [Group] = []
21 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:20:6: error: 'Published' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
18 |     @Published public var selectedContact: PhoneContact?
19 |     @Published public var rows: [PhoneContact] = []
20 |     @Published public var groups: [Group] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
21 |
22 |     var query: String = "" {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:33:33: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
31 |     let onlyWithPhoneNumber: Bool
32 |
33 |     private let searchSubject = PassthroughSubject<String, Never>()
   |                                 `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
34 |
35 |     private var searchCancellable: Cancellable!
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:35:36: error: 'Cancellable' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
33 |     private let searchSubject = PassthroughSubject<String, Never>()
34 |
35 |     private var searchCancellable: Cancellable!
   |                                    `- error: 'Cancellable' is only available in macOS 10.15 or newer
36 |
37 |     deinit {
<unknown>:0: error: cannot convert value of type 'KeyPath<ContactPickerViewModel, PhoneContact?>' to expected argument type 'ReferenceWritableKeyPath<ContactPickerViewModel, PhoneContact?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ContactPickerViewModel, [PhoneContact]>' to expected argument type 'ReferenceWritableKeyPath<ContactPickerViewModel, [PhoneContact]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<ContactPickerViewModel, [Group]>' to expected argument type 'ReferenceWritableKeyPath<ContactPickerViewModel, [Group]>'
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:46:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
44 |
45 |         searchCancellable = searchSubject
46 |             .eraseToAnyPublisher().map { $0 }
   |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |             .debounce(for: .milliseconds(100), scheduler: DispatchQueue.main)
48 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:46:36: error: 'map' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
44 |
45 |         searchCancellable = searchSubject
46 |             .eraseToAnyPublisher().map { $0 }
   |                                    |- error: 'map' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
47 |             .debounce(for: .milliseconds(100), scheduler: DispatchQueue.main)
48 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:47:14: error: 'debounce(for:scheduler:options:)' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
   :
45 |         searchCancellable = searchSubject
46 |             .eraseToAnyPublisher().map { $0 }
47 |             .debounce(for: .milliseconds(100), scheduler: DispatchQueue.main)
   |              |- error: 'debounce(for:scheduler:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .removeDuplicates()
49 |             .sink(receiveValue: { searchText in
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:48:14: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
   :
46 |             .eraseToAnyPublisher().map { $0 }
47 |             .debounce(for: .milliseconds(100), scheduler: DispatchQueue.main)
48 |             .removeDuplicates()
   |              |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .sink(receiveValue: { searchText in
50 |                 let rows = self.store.filtered(by: searchText)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:49:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
   :
47 |             .debounce(for: .milliseconds(100), scheduler: DispatchQueue.main)
48 |             .removeDuplicates()
49 |             .sink(receiveValue: { searchText in
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |                 let rows = self.store.filtered(by: searchText)
51 |                 if self.onlyWithPhoneNumber {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:52:21: error: setter for 'rows' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
   :
50 |                 let rows = self.store.filtered(by: searchText)
51 |                 if self.onlyWithPhoneNumber {
52 |                     self.rows = rows.filter { $0.phoneNumber.count > 0 }
   |                     |- error: setter for 'rows' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
53 |                 } else {
54 |                     self.rows = rows
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:54:21: error: setter for 'rows' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
39 |     }
40 |
41 |     public init(store: ContactStoreProvider, onlyWithPhoneNumber: Bool = false) {
   |            `- note: add '@available' attribute to enclosing initializer
42 |         self.store = store
43 |         self.onlyWithPhoneNumber = onlyWithPhoneNumber
   :
52 |                     self.rows = rows.filter { $0.phoneNumber.count > 0 }
53 |                 } else {
54 |                     self.rows = rows
   |                     |- error: setter for 'rows' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
55 |                 }
56 |                 self.updateGroups()
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerViewModel.swift:72:9: error: setter for 'groups' is only available in macOS 10.15 or newer
13 | }
14 |
15 | public class ContactPickerViewModel: ObservableObject {
   |              `- note: add '@available' attribute to enclosing class
16 |     private var store: ContactStoreProvider
17 |
   :
58 |     }
59 |
60 |     public func updateGroups() {
   |                 `- note: add '@available' attribute to enclosing instance method
61 |         let _groups = Dictionary(grouping: rows) { (contact: PhoneContact) -> String in
62 |             return String(contact.sortName.prefix(1))
   :
70 |             }))
71 |         }
72 |         self.groups = _groups
   |         |- error: setter for 'groups' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
73 |     }
74 | }
[11/13] Compiling SwiftUIContactPicker ContactPickerView.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:5:6: error: 'Binding' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:6:6: error: 'StateObject' is only available in macOS 11.0 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:12:26: error: 'Binding' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
 9 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
10 |         viewModel: ContactPickerViewModel,
11 |         config: ContactPickerConfiguration,
12 |         selectedContact: Binding<PhoneContact?>,
   |                          `- error: 'Binding' is only available in macOS 10.15 or newer
13 |         rowBuilder: ((PhoneContact, ContactPickerView) -> AnyView)? = nil,
14 |         onCancel: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:13:59: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
 9 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
10 |         viewModel: ContactPickerViewModel,
11 |         config: ContactPickerConfiguration,
12 |         selectedContact: Binding<PhoneContact?>,
13 |         rowBuilder: ((PhoneContact, ContactPickerView) -> AnyView)? = nil,
   |                                                           `- error: 'AnyView' is only available in macOS 10.15 or newer
14 |         onCancel: (() -> Void)? = nil
15 |     ) {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:28:81: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   :
26 |     }
27 |
28 |     let rowBuilder: (_ contact: PhoneContact, _ listView: ContactPickerView) -> AnyView
   |                                                                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
29 |     let onCancel: (() -> Void)?
30 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
   :
29 |     let onCancel: (() -> Void)?
30 |
31 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
32 |         VStack(alignment: .center, spacing: 0) {
33 |             ContactPickerHeader(text: $viewModel.query, onCancel: onCancel, l10n: cpConfig.l10n)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:75:31: error: 'View' is only available in macOS 10.15 or newer
70 | }
71 |
72 | struct ContactListView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
73 |     static let vm = ContactPickerViewModel(store: StubContactStore())
74 |
75 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
76 |         ContactPickerView(viewModel: vm, config: ContactPickerConfiguration.default, selectedContact: Binding.constant(nil)) { contact, _ in
77 |             AnyView(CompactContactRow(contact: contact))
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:23:17: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | public struct ContactPickerView: View {
   |               `- note: add '@available' attribute to enclosing struct
 5 |     @Binding var selectedContact: PhoneContact?
 6 |     @StateObject private var viewModel: ContactPickerViewModel = ContactPickerViewModel(store: ContactStore())
 7 |     private var cpConfig: ContactPickerConfiguration
 8 |
 9 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
10 |         viewModel: ContactPickerViewModel,
11 |         config: ContactPickerConfiguration,
   :
21 |         } else {
22 |             self.rowBuilder = { contact, _ in
23 |                 AnyView(CompactContactRow(contact: contact))
   |                 |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |             }
25 |         }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:60:13: error: cannot find 'UIApplication' in scope
58 |         }
59 |         .onTapGesture {
60 |             UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |             `- error: cannot find 'UIApplication' in scope
61 |         }
62 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:60:55: error: cannot find 'UIResponder' in scope
58 |         }
59 |         .onTapGesture {
60 |             UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                       `- error: cannot find 'UIResponder' in scope
61 |         }
62 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:60:94: error: 'nil' requires a contextual type
58 |         }
59 |         .onTapGesture {
60 |             UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                              `- error: 'nil' requires a contextual type
61 |         }
62 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:60:105: error: 'nil' requires a contextual type
58 |         }
59 |         .onTapGesture {
60 |             UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                         `- error: 'nil' requires a contextual type
61 |         }
62 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:60:115: error: 'nil' requires a contextual type
58 |         }
59 |         .onTapGesture {
60 |             UIApplication.shared.sendAction(#selector(UIResponder.resignFirstResponder), to: nil, from: nil, for: nil)
   |                                                                                                                   `- error: 'nil' requires a contextual type
61 |         }
62 |         .onAppear {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:76:103: error: 'Binding' is only available in macOS 10.15 or newer
70 | }
71 |
72 | struct ContactListView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
73 |     static let vm = ContactPickerViewModel(store: StubContactStore())
74 |
75 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
76 |         ContactPickerView(viewModel: vm, config: ContactPickerConfiguration.default, selectedContact: Binding.constant(nil)) { contact, _ in
   |                                                                                                       |- error: 'Binding' is only available in macOS 10.15 or newer
   |                                                                                                       `- note: add 'if #available' version check
77 |             AnyView(CompactContactRow(contact: contact))
78 |         }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/ContactPickerView.swift:77:13: error: 'AnyView' is only available in macOS 10.15 or newer
70 | }
71 |
72 | struct ContactListView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
73 |     static let vm = ContactPickerViewModel(store: StubContactStore())
74 |
75 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
76 |         ContactPickerView(viewModel: vm, config: ContactPickerConfiguration.default, selectedContact: Binding.constant(nil)) { contact, _ in
77 |             AnyView(CompactContactRow(contact: contact))
   |             |- error: 'AnyView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
78 |         }
79 |     }
[12/13] Compiling SwiftUIContactPicker ContactStore.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:29:28: error: cannot find type 'CNContact' in scope
27 |     }
28 |
29 |     func getContacts() -> [CNContact] {
   |                            `- error: cannot find type 'CNContact' in scope
30 |         let contactStore = CNContactStore()
31 |         let keysToFetch = [
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:8:28: error: 'ObservableObject' is only available in macOS 10.15 or newer
 6 | }
 7 |
 8 | public class ContactStore: ObservableObject, ContactStoreProvider {
   |              |             `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add '@available' attribute to enclosing class
 9 |     var contacts: [PhoneContact] = []
10 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/PhoneContact.swift:50:19: error: cannot find type 'CNContact' in scope
48 |     }
49 |
50 |     init(contact: CNContact) {
   |                   `- error: cannot find type 'CNContact' in scope
51 |         id = contact.identifier
52 |         givenName = contact.givenName
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:26:62: error: argument passed to call that takes no arguments
24 |
25 |     func load() {
26 |         contacts = getContacts().map { PhoneContact(contact: $0) }
   |                                                              `- error: argument passed to call that takes no arguments
27 |     }
28 |
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:30:28: error: cannot find 'CNContactStore' in scope
28 |
29 |     func getContacts() -> [CNContact] {
30 |         let contactStore = CNContactStore()
   |                            `- error: cannot find 'CNContactStore' in scope
31 |         let keysToFetch = [
32 |             CNContactFormatter.descriptorForRequiredKeys(for: .fullName),
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:32:13: error: cannot find 'CNContactFormatter' in scope
30 |         let contactStore = CNContactStore()
31 |         let keysToFetch = [
32 |             CNContactFormatter.descriptorForRequiredKeys(for: .fullName),
   |             `- error: cannot find 'CNContactFormatter' in scope
33 |             CNContactIdentifierKey,
34 |             CNContactPhoneNumbersKey,
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:33:13: error: cannot find 'CNContactIdentifierKey' in scope
31 |         let keysToFetch = [
32 |             CNContactFormatter.descriptorForRequiredKeys(for: .fullName),
33 |             CNContactIdentifierKey,
   |             `- error: cannot find 'CNContactIdentifierKey' in scope
34 |             CNContactPhoneNumbersKey,
35 |             CNContactEmailAddressesKey,
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:34:13: error: cannot find 'CNContactPhoneNumbersKey' in scope
32 |             CNContactFormatter.descriptorForRequiredKeys(for: .fullName),
33 |             CNContactIdentifierKey,
34 |             CNContactPhoneNumbersKey,
   |             `- error: cannot find 'CNContactPhoneNumbersKey' in scope
35 |             CNContactEmailAddressesKey,
36 |             CNContactThumbnailImageDataKey,
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:35:13: error: cannot find 'CNContactEmailAddressesKey' in scope
33 |             CNContactIdentifierKey,
34 |             CNContactPhoneNumbersKey,
35 |             CNContactEmailAddressesKey,
   |             `- error: cannot find 'CNContactEmailAddressesKey' in scope
36 |             CNContactThumbnailImageDataKey,
37 |             CNContactViewController.descriptorForRequiredKeys(),
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:36:13: error: cannot find 'CNContactThumbnailImageDataKey' in scope
34 |             CNContactPhoneNumbersKey,
35 |             CNContactEmailAddressesKey,
36 |             CNContactThumbnailImageDataKey,
   |             `- error: cannot find 'CNContactThumbnailImageDataKey' in scope
37 |             CNContactViewController.descriptorForRequiredKeys(),
38 |         ] as [Any]
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:32:64: error: cannot infer contextual base in reference to member 'fullName'
30 |         let contactStore = CNContactStore()
31 |         let keysToFetch = [
32 |             CNContactFormatter.descriptorForRequiredKeys(for: .fullName),
   |                                                                `- error: cannot infer contextual base in reference to member 'fullName'
33 |             CNContactIdentifierKey,
34 |             CNContactPhoneNumbersKey,
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:40:29: error: cannot find type 'CNContainer' in scope
38 |         ] as [Any]
39 |
40 |         var allContainers: [CNContainer] = []
   |                             `- error: cannot find type 'CNContainer' in scope
41 |         do {
42 |             allContainers = try contactStore.containers(matching: nil)
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:42:67: error: 'nil' requires a contextual type
40 |         var allContainers: [CNContainer] = []
41 |         do {
42 |             allContainers = try contactStore.containers(matching: nil)
   |                                                                   `- error: 'nil' requires a contextual type
43 |         } catch {
44 |             print("Error fetching containers")
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:47:26: error: cannot find type 'CNContact' in scope
45 |         }
46 |
47 |         var results: Set<CNContact> = []
   |                          `- error: cannot find type 'CNContact' in scope
48 |
49 |         for container in allContainers {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:50:34: error: cannot find 'CNContact' in scope
48 |
49 |         for container in allContainers {
50 |             let fetchPredicate = CNContact.predicateForContactsInContainer(withIdentifier: container.identifier)
   |                                  `- error: cannot find 'CNContact' in scope
51 |
52 |             do {
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Model/ContactStore.swift:53:129: error: cannot find type 'CNKeyDescriptor' in scope
51 |
52 |             do {
53 |                 let containerResults = try contactStore.unifiedContacts(matching: fetchPredicate, keysToFetch: keysToFetch as! [CNKeyDescriptor])
   |                                                                                                                                 `- error: cannot find type 'CNKeyDescriptor' in scope
54 |                 for c in containerResults {
55 |                     results.insert(c)
[13/13] Compiling SwiftUIContactPicker Color+Extensions.swift
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:38: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                 `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:46: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                         `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:6:46: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
   |                    |                         `- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
 8 |     }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:33: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |            `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:41: error: 'Color' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |                    `- error: 'Color' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:7:41: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 3 |
 4 | extension Color {
 5 |     enum Theme {
   |          `- note: add '@available' attribute to enclosing enum
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
 7 |         static var primaryTint: Color = Color("primaryTint", bundle: Bundle.module)
   |                    |                    `- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing static property
 8 |     }
 9 | }
/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Sources/SwiftUIContactPicker/Extensions/Color+Extensions.swift:4:11: error: 'Color' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
 5 |     enum Theme {
 6 |         static let headerBackground: Color = Color("headerBackground", bundle: Bundle.module)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/SwiftUIContactPickerExample': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/README.md
    /Users/admin/builder/spi-builder-workspace/SwiftUIContactPicker/Info.plist
BUILD FAILURE 6.3 macosSpm