Build Information
Failed to build AlertMaster, reference 1.1.0 (9a8f40), with Swift 6.3 for macOS (SPM) on 11 Aug 2026 15:18:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
79 | if viewDidLoad == false {
80 | viewDidLoad = true
| |- error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | action?()
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:28:36: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
26 | /// subview constraint to navigationBar or to topAnchor or superview
27 | /// - Returns: The real distance between topViewController and Bottom navigationBar
28 | func calculateTopDistance() -> CGFloat{
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
29 | let misureView: UIView = UIView()
30 | misureView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:58:38: error: cannot find type 'UIImage' in scope
56 | }
57 |
58 | func setBackNavigationItem(icon: UIImage) {
| `- error: cannot find type 'UIImage' in scope
59 | let imageView = UIImageView(image: icon)
60 | let item = UIBarButtonItem(customView: imageView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:108: error: cannot find type 'UIWindow' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIWindow' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:28: error: cannot find type 'UIViewController' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIViewController' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:57: error: cannot find type 'UIColor' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIColor' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:74: error: cannot find type 'CGRect' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'CGRect' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
[55/64] Compiling AppViewUtilits Extension+View.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:12:18: error: cannot find type 'UIViewController' in scope
10 | #endif
11 |
12 | public extension UIViewController {
| `- error: cannot find type 'UIViewController' in scope
13 |
14 | func deallocVC() {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:12:18: error: cannot find type 'UIWindow' in scope
10 | #endif
11 |
12 | public extension UIWindow {
| `- error: cannot find type 'UIWindow' in scope
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:40: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:63: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:22:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:23:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | NavigationLink(
25 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:31:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:32:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
33 | NavigationLink(
34 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:40:69: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
42 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:26: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:91: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
42 | }
43 |
44 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:50:28: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
48 | }
49 |
50 | var keyboardPublisher: AnyPublisher<Bool, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
51 | Publishers
52 | .Merge(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:65:45: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
67 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:13:18: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
| `- error: 'State' is only available in macOS 10.15 or newer
74 | public let action: (() -> Void)?
75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:76:48: error: 'View' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:19:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
18 | isActive: toggle
19 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:24: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:34: error: 'init(_:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'init(_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:28:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
:
26 | tag: matches,
27 | selection: Binding<H?>(binding)
28 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:37:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
:
35 | tag: matches,
36 | selection: binding
37 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:41:14: error: 'modifier' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:46:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | else { self }
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:47:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:55:37: error: cannot find 'UIResponder' in scope
53 | NotificationCenter
54 | .default
55 | .publisher(for: UIResponder.keyboardWillShowNotification)
| `- error: cannot find 'UIResponder' in scope
56 | .map { _ in true },
57 | NotificationCenter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:59:37: error: cannot find 'UIResponder' in scope
57 | NotificationCenter
58 | .default
59 | .publisher(for: UIResponder.keyboardWillHideNotification)
| `- error: cannot find 'UIResponder' in scope
60 | .map { _ in false })
61 | .debounce(for: .seconds(0.1), scheduler: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:66:9: error: 'opacity' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:78:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | if viewDidLoad == false {
80 | viewDidLoad = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:80:21: error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
79 | if viewDidLoad == false {
80 | viewDidLoad = true
| |- error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | action?()
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:28:36: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
26 | /// subview constraint to navigationBar or to topAnchor or superview
27 | /// - Returns: The real distance between topViewController and Bottom navigationBar
28 | func calculateTopDistance() -> CGFloat{
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
29 | let misureView: UIView = UIView()
30 | misureView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:58:38: error: cannot find type 'UIImage' in scope
56 | }
57 |
58 | func setBackNavigationItem(icon: UIImage) {
| `- error: cannot find type 'UIImage' in scope
59 | let imageView = UIImageView(image: icon)
60 | let item = UIBarButtonItem(customView: imageView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:108: error: cannot find type 'UIWindow' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIWindow' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:28: error: cannot find type 'UIViewController' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIViewController' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:57: error: cannot find type 'UIColor' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIColor' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:74: error: cannot find type 'CGRect' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'CGRect' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
[56/64] Compiling AppViewUtilits Extensions+SKProduct.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:12:18: error: cannot find type 'UIViewController' in scope
10 | #endif
11 |
12 | public extension UIViewController {
| `- error: cannot find type 'UIViewController' in scope
13 |
14 | func deallocVC() {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:12:18: error: cannot find type 'UIWindow' in scope
10 | #endif
11 |
12 | public extension UIWindow {
| `- error: cannot find type 'UIWindow' in scope
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:40: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:63: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:22:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:23:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | NavigationLink(
25 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:31:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:32:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
33 | NavigationLink(
34 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:40:69: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
42 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:26: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:91: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
42 | }
43 |
44 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:50:28: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
48 | }
49 |
50 | var keyboardPublisher: AnyPublisher<Bool, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
51 | Publishers
52 | .Merge(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:65:45: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
67 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:13:18: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
| `- error: 'State' is only available in macOS 10.15 or newer
74 | public let action: (() -> Void)?
75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:76:48: error: 'View' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:19:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
18 | isActive: toggle
19 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:24: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:34: error: 'init(_:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'init(_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:28:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
:
26 | tag: matches,
27 | selection: Binding<H?>(binding)
28 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:37:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
:
35 | tag: matches,
36 | selection: binding
37 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:41:14: error: 'modifier' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:46:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | else { self }
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:47:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:55:37: error: cannot find 'UIResponder' in scope
53 | NotificationCenter
54 | .default
55 | .publisher(for: UIResponder.keyboardWillShowNotification)
| `- error: cannot find 'UIResponder' in scope
56 | .map { _ in true },
57 | NotificationCenter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:59:37: error: cannot find 'UIResponder' in scope
57 | NotificationCenter
58 | .default
59 | .publisher(for: UIResponder.keyboardWillHideNotification)
| `- error: cannot find 'UIResponder' in scope
60 | .map { _ in false })
61 | .debounce(for: .seconds(0.1), scheduler: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:66:9: error: 'opacity' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:78:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | if viewDidLoad == false {
80 | viewDidLoad = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:80:21: error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
79 | if viewDidLoad == false {
80 | viewDidLoad = true
| |- error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | action?()
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:28:36: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
26 | /// subview constraint to navigationBar or to topAnchor or superview
27 | /// - Returns: The real distance between topViewController and Bottom navigationBar
28 | func calculateTopDistance() -> CGFloat{
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
29 | let misureView: UIView = UIView()
30 | misureView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:58:38: error: cannot find type 'UIImage' in scope
56 | }
57 |
58 | func setBackNavigationItem(icon: UIImage) {
| `- error: cannot find type 'UIImage' in scope
59 | let imageView = UIImageView(image: icon)
60 | let item = UIBarButtonItem(customView: imageView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:108: error: cannot find type 'UIWindow' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIWindow' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:28: error: cannot find type 'UIViewController' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIViewController' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:57: error: cannot find type 'UIColor' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIColor' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:74: error: cannot find type 'CGRect' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'CGRect' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
[57/64] Compiling AppViewUtilits AppVersion.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:12:18: error: cannot find type 'UIViewController' in scope
10 | #endif
11 |
12 | public extension UIViewController {
| `- error: cannot find type 'UIViewController' in scope
13 |
14 | func deallocVC() {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:12:18: error: cannot find type 'UIWindow' in scope
10 | #endif
11 |
12 | public extension UIWindow {
| `- error: cannot find type 'UIWindow' in scope
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:40: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:63: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:22:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:23:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | NavigationLink(
25 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:31:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:32:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
33 | NavigationLink(
34 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:40:69: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
42 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:26: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:91: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
42 | }
43 |
44 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:50:28: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
48 | }
49 |
50 | var keyboardPublisher: AnyPublisher<Bool, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
51 | Publishers
52 | .Merge(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:65:45: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
67 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:13:18: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
| `- error: 'State' is only available in macOS 10.15 or newer
74 | public let action: (() -> Void)?
75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:76:48: error: 'View' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:19:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
18 | isActive: toggle
19 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:24: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:34: error: 'init(_:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'init(_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:28:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
:
26 | tag: matches,
27 | selection: Binding<H?>(binding)
28 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:37:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
:
35 | tag: matches,
36 | selection: binding
37 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:41:14: error: 'modifier' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:46:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | else { self }
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:47:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:55:37: error: cannot find 'UIResponder' in scope
53 | NotificationCenter
54 | .default
55 | .publisher(for: UIResponder.keyboardWillShowNotification)
| `- error: cannot find 'UIResponder' in scope
56 | .map { _ in true },
57 | NotificationCenter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:59:37: error: cannot find 'UIResponder' in scope
57 | NotificationCenter
58 | .default
59 | .publisher(for: UIResponder.keyboardWillHideNotification)
| `- error: cannot find 'UIResponder' in scope
60 | .map { _ in false })
61 | .debounce(for: .seconds(0.1), scheduler: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:66:9: error: 'opacity' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:78:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | if viewDidLoad == false {
80 | viewDidLoad = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:80:21: error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
79 | if viewDidLoad == false {
80 | viewDidLoad = true
| |- error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | action?()
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:28:36: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
26 | /// subview constraint to navigationBar or to topAnchor or superview
27 | /// - Returns: The real distance between topViewController and Bottom navigationBar
28 | func calculateTopDistance() -> CGFloat{
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
29 | let misureView: UIView = UIView()
30 | misureView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:58:38: error: cannot find type 'UIImage' in scope
56 | }
57 |
58 | func setBackNavigationItem(icon: UIImage) {
| `- error: cannot find type 'UIImage' in scope
59 | let imageView = UIImageView(image: icon)
60 | let item = UIBarButtonItem(customView: imageView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:108: error: cannot find type 'UIWindow' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIWindow' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:28: error: cannot find type 'UIViewController' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIViewController' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:57: error: cannot find type 'UIColor' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIColor' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:74: error: cannot find type 'CGRect' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'CGRect' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
[58/64] Compiling AppViewUtilits Callback.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:12:18: error: cannot find type 'UIViewController' in scope
10 | #endif
11 |
12 | public extension UIViewController {
| `- error: cannot find type 'UIViewController' in scope
13 |
14 | func deallocVC() {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:12:18: error: cannot find type 'UIWindow' in scope
10 | #endif
11 |
12 | public extension UIWindow {
| `- error: cannot find type 'UIWindow' in scope
13 |
14 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:40: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:15:63: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:22:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:23:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
24 | NavigationLink(
25 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:31:50: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:32:56: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
| `- error: 'View' is only available in macOS 10.15 or newer
33 | NavigationLink(
34 | destination: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:40:69: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
42 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:26: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:45:91: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
42 | }
43 |
44 | @ViewBuilder
| `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:50:28: error: 'AnyPublisher' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
48 | }
49 |
50 | var keyboardPublisher: AnyPublisher<Bool, Never> {
| | `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
51 | Publishers
52 | .Merge(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:65:45: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
67 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:13:18: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:73:6: error: 'State' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
| `- error: 'State' is only available in macOS 10.15 or newer
74 | public let action: (() -> Void)?
75 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:76:48: error: 'View' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:16:9: error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
| |- error: 'init(destination:isActive:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
17 | destination: self,
18 | isActive: toggle
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:19:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
16 | NavigationLink(
17 | destination: self,
18 | isActive: toggle
19 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:24:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
25 | destination: self,
26 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:24: error: 'Binding' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:27:34: error: 'init(_:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
25 | destination: self,
26 | tag: matches,
27 | selection: Binding<H?>(binding)
| |- error: 'init(_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
28 | ) { EmptyView() }
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:28:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
20 | }
21 |
22 | func navigatePush<H: Hashable>(when binding: Binding<H>,
| `- note: add '@available' attribute to enclosing instance method
23 | matches: H) -> some View {
24 | NavigationLink(
:
26 | tag: matches,
27 | selection: Binding<H?>(binding)
28 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'NavigationLink' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:33:9: error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
| |- error: 'init(destination:tag:selection:label:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
34 | destination: self,
35 | tag: matches,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:37:13: error: 'EmptyView' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
29 | }
30 |
31 | func navigatePush<H: Hashable>(when binding: Binding<H?>,
| `- note: add '@available' attribute to enclosing instance method
32 | matches: H) -> some View {
33 | NavigationLink(
:
35 | tag: matches,
36 | selection: binding
37 | ) { EmptyView() }
| |- error: 'EmptyView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:41:14: error: 'modifier' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
38 | }
39 |
40 | func onViewDidLoad(perform action: (() -> Void)? = nil) -> some View {
| `- note: add '@available' attribute to enclosing instance method
41 | self.modifier(ViewDidLoadModifier(action: action))
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:46:22: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
| |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
47 | else { self }
48 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:47:14: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
43 |
44 | @ViewBuilder
45 | func `if`<Transform: View>(_ condition: Bool, transform: (Self) -> Transform) -> some View {
| `- note: add '@available' attribute to enclosing instance method
46 | if condition { transform(self) }
47 | else { self }
| |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:55:37: error: cannot find 'UIResponder' in scope
53 | NotificationCenter
54 | .default
55 | .publisher(for: UIResponder.keyboardWillShowNotification)
| `- error: cannot find 'UIResponder' in scope
56 | .map { _ in true },
57 | NotificationCenter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:59:37: error: cannot find 'UIResponder' in scope
57 | NotificationCenter
58 | .default
59 | .publisher(for: UIResponder.keyboardWillHideNotification)
| `- error: cannot find 'UIResponder' in scope
60 | .map { _ in false })
61 | .debounce(for: .seconds(0.1), scheduler: RunLoop.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:66:9: error: 'opacity' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension View {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | func navigatePush(whenTrue toggle: Binding<Bool>) -> some View {
:
63 | }
64 |
65 | func hidden(_ shouldHide: Bool) -> some View {
| `- note: add '@available' attribute to enclosing instance method
66 | opacity(shouldHide ? 0 : 1)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:78:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
79 | if viewDidLoad == false {
80 | viewDidLoad = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+View.swift:80:21: error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
69 |
70 | @available(iOS 13.0, *)
71 | public struct ViewDidLoadModifier: ViewModifier {
| `- note: add '@available' attribute to enclosing struct
72 |
73 | @State private var viewDidLoad = false
74 | public let action: (() -> Void)?
75 |
76 | public func body(content: Content) -> some View {
| `- note: add '@available' attribute to enclosing instance method
77 | content
78 | .onAppear {
79 | if viewDidLoad == false {
80 | viewDidLoad = true
| |- error: setter for 'viewDidLoad' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | action?()
82 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:28:36: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
26 | /// subview constraint to navigationBar or to topAnchor or superview
27 | /// - Returns: The real distance between topViewController and Bottom navigationBar
28 | func calculateTopDistance() -> CGFloat{
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
29 | let misureView: UIView = UIView()
30 | misureView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIViewController.swift:58:38: error: cannot find type 'UIImage' in scope
56 | }
57 |
58 | func setBackNavigationItem(icon: UIImage) {
| `- error: cannot find type 'UIImage' in scope
59 | let imageView = UIImageView(image: icon)
60 | let item = UIBarButtonItem(customView: imageView)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:108: error: cannot find type 'UIWindow' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIWindow' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:28: error: cannot find type 'UIViewController' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIViewController' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:57: error: cannot find type 'UIColor' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'UIColor' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIWindow.swift:23:74: error: cannot find type 'CGRect' in scope
21 | - Returns: New window
22 | **/
23 | static func create(vc: UIViewController, tintColor: UIColor?, frame: CGRect = UIScreen.main.bounds) -> UIWindow {
| `- error: cannot find type 'CGRect' in scope
24 | let window = UIWindow(frame: frame)
25 | window.tintColor = tintColor
[59/64] Compiling AppViewUtilits Extension+Notifications.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[60/64] Compiling AppViewUtilits Extension+Optional.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[61/64] Compiling AppViewUtilits Extension+Sequence.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[62/64] Compiling AppViewUtilits Extension+String.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[63/64] Compiling AppViewUtilits Extension+UIApplication.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[64/64] Compiling AppViewUtilits Extension+UIBezierPath.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
BUILD FAILURE 6.3 macosSpm