The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TelegramLoginWidget, reference 1.1.1 (f78eb1), with Swift 6.2 for macOS (SPM) on 31 Mar 2026 13:25:03 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/anaserkinov/telegram-login-widget-swift.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/anaserkinov/telegram-login-widget-swift
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at f78eb14 fix: correct idToken variable usage in TelegramWebViewCoordinator
Cloned https://github.com/anaserkinov/telegram-login-widget-swift.git
Revision (git rev-parse @):
f78eb148284e69df854189bf439cbc24af0db1ae
SUCCESS checkout https://github.com/anaserkinov/telegram-login-widget-swift.git at 1.1.1
Downloading binary artifact https://github.com/anaserkinov/telegram-login-widget/releases/download/v1.0.0-RC4/TelegramLoginData.xcframework.zip
[8948/6743504] Downloading https://github.com/anaserkinov/telegram-login-widget/releases/download/v1.0.0-RC4/TelegramLoginData.xcframework.zip
Downloaded https://github.com/anaserkinov/telegram-login-widget/releases/download/v1.0.0-RC4/TelegramLoginData.xcframework.zip (0.91s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "telegram-login-widget-swift",
      "name": "TelegramLoginWidget",
      "url": "https://github.com/anaserkinov/telegram-login-widget-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/telegram-login-widget-swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/anaserkinov/telegram-login-widget-swift.git
[1/174] Fetching telegram-login-widget-swift
Fetched https://github.com/anaserkinov/telegram-login-widget-swift.git from cache (1.03s)
Creating working copy for https://github.com/anaserkinov/telegram-login-widget-swift.git
Working copy of https://github.com/anaserkinov/telegram-login-widget-swift.git resolved at 1.1.1 (f78eb14)
Fetching binary artifact https://github.com/anaserkinov/telegram-login-widget/releases/download/v1.0.0-RC4/TelegramLoginData.xcframework.zip from cache
Fetched https://github.com/anaserkinov/telegram-login-widget/releases/download/v1.0.0-RC4/TelegramLoginData.xcframework.zip from cache (0.37s)
warning: '.resolve-product-dependencies': dependency 'telegram-login-widget-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/anaserkinov/telegram-login-widget-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/16] Emitting module TelegramLogin
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:14:42: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 |                        `- error: 'Path' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:102:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
100 | }
101 |
102 | #Preview {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
103 |     VStack {
104 |         TelegramIcon()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:103:5: error: 'VStack' is only available in macOS 10.15 or newer
101 |
102 | #Preview {
103 |     VStack {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:105:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
103 |     VStack {
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
106 |             .foregroundStyle(TelegramDefaults.primaryColor)
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:106:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
106 |             .foregroundStyle(TelegramDefaults.primaryColor)
    |              |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:14:46: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
   |                       |                      `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
15 |     public static let iconSize: CGFloat = 24
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:14:46: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
   |                       |                      `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
15 |     public static let iconSize: CGFloat = 24
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
18 | // MARK: - Sub-components
19 |
20 | public struct TelegramButtonIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
21 |     var size: CGFloat
22 |
   :
27 |     }
28 |
29 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
30 |         TelegramIcon()
31 |             .frame(width: size, height: size)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:63:6: error: 'State' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
61 |     private let content: () -> Content
62 |
63 |     @State private var showDialog = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
64 |     @State private var isUserDismiss = true
65 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:64:6: error: 'State' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
62 |
63 |     @State private var showDialog = false
64 |     @State private var isUserDismiss = true
   |      `- error: 'State' is only available in macOS 10.15 or newer
65 |
66 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:69:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
64 |     @State private var isUserDismiss = true
65 |
66 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
67 |         config: TelegramLoginConfig,
68 |         onResult: @escaping (TelegramLoginResult) -> Void,
69 |         @ViewBuilder content: @escaping () -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
70 |     ) {
71 |         self.config = config
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:76:27: error: 'View' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
74 |     }
75 |
76 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
77 |         Button {
78 |             showDialog = true
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:57:44: error: 'View' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               |                            `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
 13 |     @ViewBuilder var pageLoader: () -> Progress
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 14 |
 15 |     @State var isPresented: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
 13 |     @ViewBuilder var pageLoader: () -> Progress
 14 |
 15 |     @State var isPresented: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:21:13: error: 'ProgressView' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
    |             |- error: 'ProgressView' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:21:13: error: 'init()' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
    |             |- error: 'init()' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:22:18: error: 'progressViewStyle' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
    |                  |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:22:37: error: 'circular' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
    |                                     |- error: 'circular' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:23:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 24 |                 .padding(.top, 16)
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:23:57: error: 'top' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                                                         |- error: 'top' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
 24 |                 .padding(.top, 16)
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:24:18: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 25 |         }
 26 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:40:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:10:45: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               |                             `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:92:22: error: 'Binding' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:95:15: error: 'View' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
 95 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 96 |         self.overlay {
 97 |             if isPresented.wrappedValue {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:90:11: error: 'View' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
 92 |         isPresented: Binding<Bool>,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:16:2: error: 'Observable()' is only available in macOS 14.0 or newer
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 17 | private final class WebViewHolder {
 18 |     let webView: WKWebView
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:25:1: note: expanded code originates here
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'WebViewHolder' here
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
    :
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
 25 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<$s13TelegramLogin13WebViewHolder33_E1BA7D623C94408A542A90B0791BFAB7LL10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 26 |
 27 | // MARK: - TelegramLoginView
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:25:1: note: expanded code originates here
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'WebViewHolder' here
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
    :
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
 25 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<$s13TelegramLogin13WebViewHolder33_E1BA7D623C94408A542A90B0791BFAB7LL10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 26 |
 27 | // MARK: - TelegramLoginView
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:16:2: error: 'Observable()' is only available in macOS 14.0 or newer
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:32:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
 32 |     @ViewBuilder var pageLoader: () -> Progress
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 33 |
 34 |     @State private var holder = WebViewHolder()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
 32 |     @ViewBuilder var pageLoader: () -> Progress
 33 |
 34 |     @State private var holder = WebViewHolder()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State private var isLoading = true
 36 |     @State private var canGoBack = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 33 |
 34 |     @State private var holder = WebViewHolder()
 35 |     @State private var isLoading = true
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |     @State private var canGoBack = false
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 34 |     @State private var holder = WebViewHolder()
 35 |     @State private var isLoading = true
 36 |     @State private var canGoBack = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |
 38 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:42:13: error: 'ProgressView' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
    |             |- error: 'ProgressView' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:42:13: error: 'init()' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
    |             |- error: 'init()' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:43:18: error: 'progressViewStyle' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
    |                  |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:43:37: error: 'circular' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
    |                                     |- error: 'circular' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:44:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 45 |                 .padding(.top, 16)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:44:57: error: 'top' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                                                         |- error: 'top' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
 45 |                 .padding(.top, 16)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:45:18: error: 'padding' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 46 |         }
 47 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:53:27: error: 'View' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 51 |     }
 52 |
 53 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 54 |         ZStack(alignment: .top) {
 55 |             TelegramWebView(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:29:43: error: 'View' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               |                           `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:115:30: error: cannot find type 'Context' in scope
113 |     }
114 |
115 |     func makeUIView(context: Context) -> WKWebView {
    |                              `- error: cannot find type 'Context' in scope
116 |         webView.navigationDelegate = context.coordinator
117 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:124:53: error: cannot find type 'Context' in scope
122 |     }
123 |
124 |     func updateUIView(_ uiView: WKWebView, context: Context) {
    |                                                     `- error: cannot find type 'Context' in scope
125 |         context.coordinator.onResult = onResult
126 |         context.coordinator.onLoadingChanged = onLoadingChanged
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:98:33: error: cannot find type 'UIViewRepresentable' in scope
 96 | // MARK: - TelegramWebView (UIViewRepresentable)
 97 |
 98 | private struct TelegramWebView: UIViewRepresentable {
    |                                 `- error: cannot find type 'UIViewRepresentable' in scope
 99 |     let webView: WKWebView
100 |     let url: URL
[5/16] Compiling TelegramLogin TelegramIcon.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:14:42: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 |                        `- error: 'Path' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:102:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
100 | }
101 |
102 | #Preview {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
103 |     VStack {
104 |         TelegramIcon()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:103:5: error: 'VStack' is only available in macOS 10.15 or newer
101 |
102 | #Preview {
103 |     VStack {
    |     |- error: 'VStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:105:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
103 |     VStack {
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
106 |             .foregroundStyle(TelegramDefaults.primaryColor)
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:106:14: error: 'foregroundStyle' is only available in macOS 12.0 or newer
104 |         TelegramIcon()
105 |             .frame(width: 64, height: 64)
106 |             .foregroundStyle(TelegramDefaults.primaryColor)
    |              |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:22:20: error: 'Path' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 20 |         }
 21 |
 22 |         var path = Path()
    |                    |- error: 'Path' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 23 |         path.move(to: pt(88.72, 12.14))
 24 |         // C 76.42,17.24  23.66,39.09  9.08,45.05
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:23:14: error: 'move(to:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 21 |
 22 |         var path = Path()
 23 |         path.move(to: pt(88.72, 12.14))
    |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 24 |         // C 76.42,17.24  23.66,39.09  9.08,45.05
 25 |         path.addCurve(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:25:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 23 |         path.move(to: pt(88.72, 12.14))
 24 |         // C 76.42,17.24  23.66,39.09  9.08,45.05
 25 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 26 |             to: pt(9.08, 45.05),
 27 |             control1: pt(76.42, 17.24),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:30:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 28 |             control2: pt(23.66, 39.09))
 29 |         // c -9.78,3.82  -4.05,7.39  -4.05,7.39
 30 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 31 |             to: pt(9.08 - 4.05, 45.05 + 7.39),
 32 |             control1: pt(9.08 - 9.78, 45.05 + 3.82),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:36:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 34 |         // s 8.35,2.86  15.5,5.01  =>  reflected control1 = (5.03,52.44)+(5.03,52.44)-(5.03,52.44) = same end
 35 |         let a = CGPoint(x: 9.08 - 4.05, y: 45.05 + 7.39)
 36 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |             to: pt(a.x + 15.5, a.y + 5.01),
 38 |             control1: pt(a.x, a.y),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:42:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 40 |         // c 7.15,2.15  10.97,-0.24  10.97,-0.24
 41 |         let b = CGPoint(x: a.x + 15.5, y: a.y + 5.01)
 42 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 43 |             to: pt(b.x + 10.97, b.y - 0.24),
 44 |             control1: pt(b.x + 7.15, b.y + 2.15),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:48:14: error: 'addLine(to:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 46 |         // l 33.62,-22.65
 47 |         let c = CGPoint(x: b.x + 10.97, y: b.y - 0.24)
 48 |         path.addLine(to: pt(c.x + 33.62, c.y - 22.65))
    |              |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 49 |         // c 11.92,-8.11  9.06,-1.43  6.2,1.43
 50 |         let d = CGPoint(x: c.x + 33.62, y: c.y - 22.65)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:51:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 49 |         // c 11.92,-8.11  9.06,-1.43  6.2,1.43
 50 |         let d = CGPoint(x: c.x + 33.62, y: c.y - 22.65)
 51 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 52 |             to: pt(d.x + 6.2, d.y + 1.43),
 53 |             control1: pt(d.x + 11.92, d.y - 8.11),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:57:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 55 |         // c -6.2,6.2  -16.45,15.98  -25.04,23.84
 56 |         let e = CGPoint(x: d.x + 6.2, y: d.y + 1.43)
 57 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 58 |             to: pt(e.x - 25.04, e.y + 23.84),
 59 |             control1: pt(e.x - 6.2, e.y + 6.2),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:63:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 61 |         // c -3.82,3.34  -1.91,6.2  -0.24,7.63
 62 |         let f = CGPoint(x: e.x - 25.04, y: e.y + 23.84)
 63 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 64 |             to: pt(f.x - 0.24, f.y + 7.63),
 65 |             control1: pt(f.x - 3.82, f.y + 3.34),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:69:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 67 |         // c 6.2,5.25  23.13,15.98  24.08,16.69
 68 |         let g = CGPoint(x: f.x - 0.24, y: f.y + 7.63)
 69 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 70 |             to: pt(g.x + 24.08, g.y + 16.69),
 71 |             control1: pt(g.x + 6.2, g.y + 5.25),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:75:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 73 |         // c 5.04,3.57  14.94,8.7  16.45,-2.15
 74 |         let h = CGPoint(x: g.x + 24.08, y: g.y + 16.69)
 75 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 76 |             to: pt(h.x + 16.45, h.y - 2.15),
 77 |             control1: pt(h.x + 5.04, h.y + 3.57),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:81:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 79 |         // c 0,0  5.96,-37.44  5.96,-37.44
 80 |         let i = CGPoint(x: h.x + 16.45, y: h.y - 2.15)
 81 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 82 |             to: pt(i.x + 5.96, i.y - 37.44),
 83 |             control1: pt(i.x, i.y),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:87:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 85 |         // c 1.91,-12.64  3.82,-24.32  4.05,-27.66
 86 |         let j = CGPoint(x: i.x + 5.96, y: i.y - 37.44)
 87 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 88 |             to: pt(j.x + 4.05, j.y - 27.66),
 89 |             control1: pt(j.x + 1.91, j.y - 12.64),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:92:14: error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 90 |             control2: pt(j.x + 3.82, j.y - 24.32))
 91 |         // C 97.31,8.8  88.72,12.14  88.72,12.14
 92 |         path.addCurve(
    |              |- error: 'addCurve(to:control1:control2:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 93 |             to: pt(88.72, 12.14),
 94 |             control1: pt(97.31, 8.8),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramIcon.swift:96:14: error: 'closeSubpath()' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramIcon: Shape {
    |               `- note: add '@available' attribute to enclosing struct
 11 |
 12 |     public init() {}
 13 |
 14 |     public func path(in rect: CGRect) -> Path {
    |                 `- note: add '@available' attribute to enclosing instance method
 15 |         let scaleX = rect.width / 100
 16 |         let scaleY = rect.height / 100
    :
 94 |             control1: pt(97.31, 8.8),
 95 |             control2: pt(88.72, 12.14))
 96 |         path.closeSubpath()
    |              |- error: 'closeSubpath()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 97 |
 98 |         return path
[6/16] Compiling TelegramLogin TelegramLoginResult.swift
[7/16] Compiling TelegramLogin TelegramLoginConfig.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/16] Emitting module TelegramLoginWidget
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[9/16] Compiling TelegramLogin TelegramLoginView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:16:2: error: 'Observable()' is only available in macOS 14.0 or newer
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 17 | private final class WebViewHolder {
 18 |     let webView: WKWebView
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:25:1: note: expanded code originates here
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'WebViewHolder' here
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
    :
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
 25 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<$s13TelegramLogin13WebViewHolder33_E1BA7D623C94408A542A90B0791BFAB7LL10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 26 |
 27 | // MARK: - TelegramLoginView
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:25:1: note: expanded code originates here
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'WebViewHolder' here
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
    :
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
 25 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<$s13TelegramLogin13WebViewHolder33_E1BA7D623C94408A542A90B0791BFAB7LL10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 26 |
 27 | // MARK: - TelegramLoginView
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:16:2: error: 'Observable()' is only available in macOS 14.0 or newer
 14 | /// Holds the WKWebView instance across SwiftUI recompositions.
 15 |
 16 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 17 | private final class WebViewHolder {
    |                     `- note: add '@available' attribute to enclosing class
 18 |     let webView: WKWebView
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:32:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
 32 |     @ViewBuilder var pageLoader: () -> Progress
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 33 |
 34 |     @State private var holder = WebViewHolder()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
 32 |     @ViewBuilder var pageLoader: () -> Progress
 33 |
 34 |     @State private var holder = WebViewHolder()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State private var isLoading = true
 36 |     @State private var canGoBack = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 33 |
 34 |     @State private var holder = WebViewHolder()
 35 |     @State private var isLoading = true
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |     @State private var canGoBack = false
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:36:6: error: 'State' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 34 |     @State private var holder = WebViewHolder()
 35 |     @State private var isLoading = true
 36 |     @State private var canGoBack = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 37 |
 38 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:42:13: error: 'ProgressView' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
    |             |- error: 'ProgressView' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:42:13: error: 'init()' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
    |             |- error: 'init()' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:43:18: error: 'progressViewStyle' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
    |                  |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:43:37: error: 'circular' is only available in macOS 11.0 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
 41 |         pageLoader: @escaping () -> Progress = {
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
    |                                     |- error: 'circular' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:44:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 45 |                 .padding(.top, 16)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:44:57: error: 'top' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 42 |             ProgressView()
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                                                         |- error: 'top' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
 45 |                 .padding(.top, 16)
 46 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:45:18: error: 'padding' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 36 |     @State private var canGoBack = false
 37 |
 38 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 39 |         config: TelegramLoginConfig,
 40 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 43 |                 .progressViewStyle(.circular)
 44 |                 .frame(maxWidth: .infinity, alignment: .top)
 45 |                 .padding(.top, 16)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 46 |         }
 47 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:53:27: error: 'View' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
    :
 51 |     }
 52 |
 53 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 54 |         ZStack(alignment: .top) {
 55 |             TelegramWebView(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:29:43: error: 'View' is only available in macOS 10.15 or newer
 27 | // MARK: - TelegramLoginView
 28 |
 29 | public struct TelegramLoginView<Progress: View>: View {
    |               |                           `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 30 |     let config: TelegramLoginConfig
 31 |     let onResult: (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:115:30: error: cannot find type 'Context' in scope
113 |     }
114 |
115 |     func makeUIView(context: Context) -> WKWebView {
    |                              `- error: cannot find type 'Context' in scope
116 |         webView.navigationDelegate = context.coordinator
117 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:124:53: error: cannot find type 'Context' in scope
122 |     }
123 |
124 |     func updateUIView(_ uiView: WKWebView, context: Context) {
    |                                                     `- error: cannot find type 'Context' in scope
125 |         context.coordinator.onResult = onResult
126 |         context.coordinator.onLoadingChanged = onLoadingChanged
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:98:33: error: cannot find type 'UIViewRepresentable' in scope
 96 | // MARK: - TelegramWebView (UIViewRepresentable)
 97 |
 98 | private struct TelegramWebView: UIViewRepresentable {
    |                                 `- error: cannot find type 'UIViewRepresentable' in scope
 99 |     let webView: WKWebView
100 |     let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:21:29: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 19 |
 20 |     init() {
 21 |         let configuration = WKWebViewConfiguration()
    |                             `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context [#ActorIsolatedCall]
 22 |         configuration.websiteDataStore = .default()
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:22:23: warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context
 20 |     init() {
 21 |         let configuration = WKWebViewConfiguration()
 22 |         configuration.websiteDataStore = .default()
    |                       `- warning: main actor-isolated property 'websiteDataStore' can not be mutated from a nonisolated context
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:126:51: note: mutation of this property is only permitted within the actor
124 | /*! @abstract The website data store to be used by the web view.
125 |  */
126 | @property (nonatomic, strong) WKWebsiteDataStore *websiteDataStore API_AVAILABLE(macos(10.11), ios(9.0));
    |                                                   `- note: mutation of this property is only permitted within the actor
127 |
128 | /*! @abstract A Boolean value indicating whether the web view suppresses
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:22:43: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context [#ActorIsolatedCall]
 20 |     init() {
 21 |         let configuration = WKWebViewConfiguration()
 22 |         configuration.websiteDataStore = .default()
    |                                           `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context [#ActorIsolatedCall]
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
 24 |     }
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:23:19: warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 21 |         let configuration = WKWebViewConfiguration()
 22 |         configuration.websiteDataStore = .default()
 23 |         webView = WKWebView(frame: .zero, configuration: configuration)
    |                   `- warning: call to main actor-isolated initializer 'init(frame:configuration:)' in a synchronous nonisolated context [#ActorIsolatedCall]
 24 |     }
 25 | }
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:115:1: note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
113 |  on the web view.
114 |  */
115 | - (instancetype)initWithFrame:(CGRect)frame configuration:(WKWebViewConfiguration *)configuration NS_DESIGNATED_INITIALIZER;
    | `- note: calls to initializer 'init(frame:configuration:)' from outside of its actor context are implicitly asynchronous
116 |
117 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:55:13: error: static method 'buildExpression' requires that 'TelegramWebView' conform to 'View'
 53 |     public var body: some View {
 54 |         ZStack(alignment: .top) {
 55 |             TelegramWebView(
    |             `- error: static method 'buildExpression' requires that 'TelegramWebView' conform to 'View'
 56 |                 webView: holder.webView,
 57 |                 url: URL(string: config.buildTelegramAuthUrl())!,
SwiftUI.ViewBuilder.buildExpression:2:20: note: where 'Content' = 'TelegramWebView'
1 | struct ViewBuilder {
2 | public static func buildExpression<Content>(_ content: Content) -> Content where Content : View}
  |                    `- note: where 'Content' = 'TelegramWebView'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:107:9: warning: call to main actor-isolated initializer 'init(redirectURI:onResult:onLoadingChanged:onCanGoBackChanged:)' in a synchronous nonisolated context [#ActorIsolatedCall]
104 |     let onResult: (TelegramLoginResult) -> Void
105 |
106 |     func makeCoordinator() -> TelegramWebViewCoordinator {
    |          `- note: add '@MainActor' to make instance method 'makeCoordinator()' part of global actor 'MainActor'
107 |         TelegramWebViewCoordinator(
    |         `- warning: call to main actor-isolated initializer 'init(redirectURI:onResult:onLoadingChanged:onCanGoBackChanged:)' in a synchronous nonisolated context [#ActorIsolatedCall]
108 |             redirectURI: redirectURI,
109 |             onResult: onResult,
    :
138 |     var onCanGoBackChanged: (Bool) -> Void
139 |
140 |     init(
    |     |- note: calls to initializer 'init(redirectURI:onResult:onLoadingChanged:onCanGoBackChanged:)' from outside of its actor context are implicitly asynchronous
    |     `- note: main actor isolation inferred from conformance to protocol 'WKNavigationDelegate'
141 |         redirectURI: String,
142 |         onResult: @escaping (TelegramLoginResult) -> Void,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:118:20: warning: main actor-isolated property 'url' can not be referenced from a nonisolated context
113 |     }
114 |
115 |     func makeUIView(context: Context) -> WKWebView {
    |          `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
116 |         webView.navigationDelegate = context.coordinator
117 |
118 |         if webView.url == nil {
    |                    `- warning: main actor-isolated property 'url' can not be referenced from a nonisolated context
119 |             webView.load(URLRequest(url: url))
120 |         }
/Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h:172:56: note: property declared here
170 |  property.
171 |  */
172 | @property (nullable, nonatomic, readonly, copy) NSURL *URL;
    |                                                        `- note: property declared here
173 |
174 | /*! @abstract A Boolean value indicating whether the view is currently
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:119:21: warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context [#ActorIsolatedCall]
113 |     }
114 |
115 |     func makeUIView(context: Context) -> WKWebView {
    |          `- note: add '@MainActor' to make instance method 'makeUIView(context:)' part of global actor 'MainActor'
116 |         webView.navigationDelegate = context.coordinator
117 |
118 |         if webView.url == nil {
119 |             webView.load(URLRequest(url: url))
    |                     `- warning: call to main actor-isolated instance method 'load' in a synchronous nonisolated context [#ActorIsolatedCall]
120 |         }
121 |         return webView
WebKit.WKWebView.load:2:22: note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
1 | class WKWebView {
2 | @MainActor open func load(_ request: URLRequest) -> WKNavigation?}
  |                      `- note: calls to instance method 'load' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:187:13: error: cannot find 'UIApplication' in scope
185 |         // Handle tg:// deep links — open Telegram app or prompt install
186 |         if urlString.hasPrefix("tg:") {
187 |             UIApplication.shared.open(url, options: [:]) { success in
    |             `- error: cannot find 'UIApplication' in scope
188 |                 if !success {
189 |                     UIApplication.shared.open(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginView.swift:189:21: error: cannot find 'UIApplication' in scope
187 |             UIApplication.shared.open(url, options: [:]) { success in
188 |                 if !success {
189 |                     UIApplication.shared.open(
    |                     `- error: cannot find 'UIApplication' in scope
190 |                         URL(string: "itms-apps://itunes.apple.com/app/id686449807")!
191 |                     )
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[10/16] Compiling TelegramLoginWidget TelegramIcon.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[11/16] Compiling TelegramLoginWidget TelegramLoginBottomSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[12/16] Compiling TelegramLoginWidget TelegramLoginButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[13/16] Compiling TelegramLoginWidget TelegramLoginView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[14/16] Compiling TelegramLoginWidget TelegramLoginState.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLoginWidget/TelegramLoginBottomSheet.swift:9:8: error: no such module 'TelegramLoginData'
 7 |
 8 | import SwiftUI
 9 | import TelegramLoginData
   |        `- error: no such module 'TelegramLoginData'
10 |
11 | // MARK: - TelegramLoginBottomSheet
[15/16] Compiling TelegramLogin TelegramLoginDialog.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
 13 |     @ViewBuilder var pageLoader: () -> Progress
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 14 |
 15 |     @State var isPresented: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
 13 |     @ViewBuilder var pageLoader: () -> Progress
 14 |
 15 |     @State var isPresented: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:21:13: error: 'ProgressView' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
    |             |- error: 'ProgressView' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:21:13: error: 'init()' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
    |             |- error: 'init()' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:22:18: error: 'progressViewStyle' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
    |                  |- error: 'progressViewStyle' is only available in macOS 11.0 or newer
    |                  `- note: add 'if #available' version check
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:22:37: error: 'circular' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
 20 |         pageLoader: @escaping () -> Progress = {
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
    |                                     |- error: 'circular' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:23:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 24 |                 .padding(.top, 16)
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:23:57: error: 'top' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 21 |             ProgressView()
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
    |                                                         |- error: 'top' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
 24 |                 .padding(.top, 16)
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:24:18: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 15 |     @State var isPresented: Bool = false
 16 |
 17 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 18 |         config: TelegramLoginConfig,
 19 |         onResult: @escaping (TelegramLoginResult) -> Void,
    :
 22 |                 .progressViewStyle(.circular)
 23 |                 .frame(maxWidth: .infinity, alignment: .top)
 24 |                 .padding(.top, 16)
    |                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 25 |         }
 26 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:40:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:10:45: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               |                             `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:92:22: error: 'Binding' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:95:15: error: 'View' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
 95 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 96 |         self.overlay {
 97 |             if isPresented.wrappedValue {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:90:11: error: 'View' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
 92 |         isPresented: Binding<Bool>,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:33:27: error: 'Transaction' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 30 |     }
 31 |
 32 |     func withoutAnimation(action: @escaping () -> Void) {
    |          `- note: add '@available' attribute to enclosing instance method
 33 |         var transaction = Transaction()
    |                           |- error: 'Transaction' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 34 |         transaction.disablesAnimations = true
 35 |         withTransaction(transaction) {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:34:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 30 |     }
 31 |
 32 |     func withoutAnimation(action: @escaping () -> Void) {
    |          `- note: add '@available' attribute to enclosing instance method
 33 |         var transaction = Transaction()
 34 |         transaction.disablesAnimations = true
    |                     |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 35 |         withTransaction(transaction) {
 36 |             action()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:35:9: error: 'withTransaction' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 30 |     }
 31 |
 32 |     func withoutAnimation(action: @escaping () -> Void) {
    |          `- note: add '@available' attribute to enclosing instance method
 33 |         var transaction = Transaction()
 34 |         transaction.disablesAnimations = true
 35 |         withTransaction(transaction) {
    |         |- error: 'withTransaction' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 36 |             action()
 37 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:41:9: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 42 |             .fullScreenCover(
 43 |                 isPresented: $isPresented,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:41:15: error: 'clear' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
    |               |- error: 'clear' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
 42 |             .fullScreenCover(
 43 |                 isPresented: $isPresented,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:42:14: error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
 40 |     public var body: some View {
 41 |         Color.clear
 42 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(isPresented:onDismiss:content:)' is unavailable in macOS
 43 |                 isPresented: $isPresented,
 44 |                 onDismiss: {
SwiftUI.View.fullScreenCover:2:25: note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func fullScreenCover<Content>(isPresented: Binding<Bool>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View
  |                         `- note: 'fullScreenCover(isPresented:onDismiss:content:)' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:48:17: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 46 |                 }
 47 |             ) {
 48 |                 ZStack {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |                     Color.black.opacity(0.4)
 50 |                         .ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:49:21: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 47 |             ) {
 48 |                 ZStack {
 49 |                     Color.black.opacity(0.4)
    |                     |- error: 'Color' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 50 |                         .ignoresSafeArea()
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:49:27: error: 'black' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 47 |             ) {
 48 |                 ZStack {
 49 |                     Color.black.opacity(0.4)
    |                           |- error: 'black' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 50 |                         .ignoresSafeArea()
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:49:33: error: 'opacity' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 47 |             ) {
 48 |                 ZStack {
 49 |                     Color.black.opacity(0.4)
    |                                 |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 50 |                         .ignoresSafeArea()
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:50:26: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 48 |                 ZStack {
 49 |                     Color.black.opacity(0.4)
 50 |                         .ignoresSafeArea()
    |                          |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |                          `- note: add 'if #available' version check
 51 |
 52 |                     GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:52:21: error: 'GeometryReader' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 50 |                         .ignoresSafeArea()
 51 |
 52 |                     GeometryReader { geo in
    |                     |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 53 |                         ZStack(alignment: .center) {
 54 |                             TelegramLoginView(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:53:25: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 51 |
 52 |                     GeometryReader { geo in
 53 |                         ZStack(alignment: .center) {
    |                         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 54 |                             TelegramLoginView(
 55 |                                 config: config,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:53:44: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 51 |
 52 |                     GeometryReader { geo in
 53 |                         ZStack(alignment: .center) {
    |                                            |- error: 'center' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 54 |                             TelegramLoginView(
 55 |                                 config: config,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:59:41: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 57 |                                     onResult(result)
 58 |                                     withoutAnimation {
 59 |                                         isPresented = false
    |                                         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
 60 |                                     }
 61 |                                 },
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:64:30: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 62 |                                 pageLoader: pageLoader
 63 |                             )
 64 |                             .clipShape(RoundedRectangle(cornerRadius: 24))
    |                              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 65 |                             .frame(
 66 |                                 minHeight: geo.size.height * 0.6 > 620 ? 620 : min(geo.size.height - 48, 620),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:64:40: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 62 |                                 pageLoader: pageLoader
 63 |                             )
 64 |                             .clipShape(RoundedRectangle(cornerRadius: 24))
    |                                        |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 65 |                             .frame(
 66 |                                 minHeight: geo.size.height * 0.6 > 620 ? 620 : min(geo.size.height - 48, 620),
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:65:30: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 63 |                             )
 64 |                             .clipShape(RoundedRectangle(cornerRadius: 24))
 65 |                             .frame(
    |                              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 66 |                                 minHeight: geo.size.height * 0.6 > 620 ? 620 : min(geo.size.height - 48, 620),
 67 |                                 maxHeight: geo.size.height * 0.6,
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:69:30: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 67 |                                 maxHeight: geo.size.height * 0.6,
 68 |                             )
 69 |                             .frame(maxWidth: 530)
    |                              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 70 |                             .padding(.horizontal, 24)
 71 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:70:30: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 68 |                             )
 69 |                             .frame(maxWidth: 530)
 70 |                             .padding(.horizontal, 24)
    |                              |- error: 'padding' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 71 |                         }
 72 |                         .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:72:26: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 70 |                             .padding(.horizontal, 24)
 71 |                         }
 72 |                         .frame(maxWidth: .infinity, maxHeight: .infinity)
    |                          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 73 |                     }
 74 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:75:18: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 73 |                     }
 74 |                 }
 75 |                 .onTapGesture {
    |                  |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 76 |                     withoutAnimation {
 77 |                         isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:77:25: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 75 |                 .onTapGesture {
 76 |                     withoutAnimation {
 77 |                         isPresented = false
    |                         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 78 |                     }
 79 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:80:18: error: 'presentationBackground' is only available in macOS 13.3 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 78 |                     }
 79 |                 }
 80 |                 .presentationBackground(.clear)
    |                  |- error: 'presentationBackground' is only available in macOS 13.3 or newer
    |                  `- note: add 'if #available' version check
 81 |             }
 82 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:80:42: error: 'clear' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 78 |                     }
 79 |                 }
 80 |                 .presentationBackground(.clear)
    |                                          |- error: 'clear' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
 81 |             }
 82 |             .onAppear {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:82:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 80 |                 .presentationBackground(.clear)
 81 |             }
 82 |             .onAppear {
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 83 |                 withoutAnimation {
 84 |                     isPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:84:21: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct TelegramLoginDialog<Progress: View>: View {
    |               `- note: add '@available' attribute to enclosing generic struct
 11 |     let config: TelegramLoginConfig
 12 |     let onResult: (TelegramLoginResult) -> Void
    :
 38 |     }
 39 |
 40 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 41 |         Color.clear
 42 |             .fullScreenCover(
    :
 82 |             .onAppear {
 83 |                 withoutAnimation {
 84 |                     isPresented = true
    |                     |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 85 |                 }
 86 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:96:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
 95 |     ) -> some View {
 96 |         self.overlay {
    |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
 97 |             if isPresented.wrappedValue {
 98 |                 TelegramLoginDialog(config: config) { result in
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:97:41: error: 'buildIf' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
    :
 95 |     ) -> some View {
 96 |         self.overlay {
 97 |             if isPresented.wrappedValue {
    |                                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
 98 |                 TelegramLoginDialog(config: config) { result in
 99 |                     isPresented.wrappedValue = false
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:102:13: error: 'buildIf' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
    :
100 |                     onResult(result)
101 |                 }
102 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
103 |         }
104 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginDialog.swift:96:22: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 88 | }
 89 |
 90 | extension View {
    | `- note: add '@available' attribute to enclosing extension
 91 |     public func telegramLoginDialog(
    |                 `- note: add '@available' attribute to enclosing instance method
 92 |         isPresented: Binding<Bool>,
 93 |         config: TelegramLoginConfig,
 94 |         onResult: @escaping (TelegramLoginResult) -> Void
 95 |     ) -> some View {
 96 |         self.overlay {
    |                      |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 97 |             if isPresented.wrappedValue {
 98 |                 TelegramLoginDialog(config: config) { result in
[16/16] Compiling TelegramLogin TelegramLoginButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:13:38: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
   |                       |              `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
15 |     public static let iconSize: CGFloat = 24
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:14:46: error: 'Color' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
   |                       |                      `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
15 |     public static let iconSize: CGFloat = 24
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:14:46: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
10 | // MARK: - TelegramDefaults
11 |
12 | public enum TelegramDefaults {
   |             `- note: add '@available' attribute to enclosing enum
13 |     public static let primaryColor = Color(red: 84.0 / 255, green: 169.0 / 255, blue: 235.0 / 255)  // FF54A9EB
14 |     public static let disabledPrimaryColor = Color(red: 171.0 / 255, green: 218.0 / 255, blue: 1)  // FFABDAFF
   |                       |                      `- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
15 |     public static let iconSize: CGFloat = 24
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
18 | // MARK: - Sub-components
19 |
20 | public struct TelegramButtonIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
21 |     var size: CGFloat
22 |
   :
27 |     }
28 |
29 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
30 |         TelegramIcon()
31 |             .frame(width: size, height: size)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:44:27: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:63:6: error: 'State' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
61 |     private let content: () -> Content
62 |
63 |     @State private var showDialog = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
64 |     @State private var isUserDismiss = true
65 |
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:64:6: error: 'State' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
62 |
63 |     @State private var showDialog = false
64 |     @State private var isUserDismiss = true
   |      `- error: 'State' is only available in macOS 10.15 or newer
65 |
66 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:69:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
64 |     @State private var isUserDismiss = true
65 |
66 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
67 |         config: TelegramLoginConfig,
68 |         onResult: @escaping (TelegramLoginResult) -> Void,
69 |         @ViewBuilder content: @escaping () -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
70 |     ) {
71 |         self.config = config
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:76:27: error: 'View' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
74 |     }
75 |
76 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
77 |         Button {
78 |             showDialog = true
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:57:44: error: 'View' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               |                            `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:31:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
18 | // MARK: - Sub-components
19 |
20 | public struct TelegramButtonIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
21 |     var size: CGFloat
22 |
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
30 |         TelegramIcon()
31 |             .frame(width: size, height: size)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
32 |     }
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:46:14: error: 'padding' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |             .frame(width: size, height: size)
48 |             .background(TelegramDefaults.primaryColor)
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:47:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
47 |             .frame(width: size, height: size)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .background(TelegramDefaults.primaryColor)
49 |             .clipShape(Circle())
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:48:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
47 |             .frame(width: size, height: size)
48 |             .background(TelegramDefaults.primaryColor)
   |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
49 |             .clipShape(Circle())
50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:49:14: error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
47 |             .frame(width: size, height: size)
48 |             .background(TelegramDefaults.primaryColor)
49 |             .clipShape(Circle())
   |              |- error: 'clipShape(_:style:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |     }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:49:24: error: 'Circle' is only available in macOS 10.15 or newer
33 | }
34 |
35 | public struct TelegramButtonCircleIcon: View {
   |               `- note: add '@available' attribute to enclosing struct
36 |     var size: CGFloat
37 |
   :
42 |     }
43 |
44 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
45 |         TelegramIcon()
46 |             .padding(.all, 6)
47 |             .frame(width: size, height: size)
48 |             .background(TelegramDefaults.primaryColor)
49 |             .clipShape(Circle())
   |                        |- error: 'Circle' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
50 |     }
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:77:9: error: 'Button' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
74 |     }
75 |
76 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
77 |         Button {
   |         |- error: 'Button' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
78 |             showDialog = true
79 |         } label: {
/Users/admin/builder/spi-builder-workspace/Sources/TelegramLogin/TelegramLoginButton.swift:78:13: error: setter for 'showDialog' is only available in macOS 10.15 or newer
55 | /// Full-featured login button. Shows a bottom sheet when tapped.
56 |
57 | public struct TelegramLoginButton<Content: View>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
58 |
59 |     private var config: TelegramLoginConfig
   :
74 |     }
75 |
76 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
77 |         Button {
78 |             showDialog = true
   |             |- error: setter for 'showDialog' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
79 |         } label: {
80 |             content()
BUILD FAILURE 6.2 macosSpm