Build Information
Failed to build AVRecorderWrapper, reference 1.0.0 (3386dc), with Swift 6.3 for macOS (SPM) on 11 Aug 2026 15:40:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
28 | list.forEach({ self.addArrangedSubview($0) })
29 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIStackView.swift:35:31: error: cannot find type 'UIColor' in scope
33 | }
34 |
35 | func addBackground(color: UIColor) {
| `- error: cannot find type 'UIColor' in scope
36 | let subview = UIView(frame: bounds)
37 | subview.backgroundColor = color
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITabBar.swift:14:42: error: cannot find type 'UIView' in scope
12 | public extension UITabBar {
13 |
14 | func getViewForItemAt(index: Int) -> UIView? {
| `- error: cannot find type 'UIView' in scope
15 | let views = self.subviews.compactMap { $0 is UIControl ? $0 : nil }
16 | return views[safe: index]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITableView.swift:58:84: error: cannot find type 'IndexPath' in scope
56 | }
57 |
58 | func dequeueReusableCell<T: UITableViewCell>(with type: T.Type, for indexPath: IndexPath) -> T {
| `- error: cannot find type 'IndexPath' in scope
59 | return self.dequeueReusableCell(withIdentifier: type.className, for: indexPath) as! T
60 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITableView.swift:58:33: error: cannot find type 'UITableViewCell' in scope
56 | }
57 |
58 | func dequeueReusableCell<T: UITableViewCell>(with type: T.Type, for indexPath: IndexPath) -> T {
| `- error: cannot find type 'UITableViewCell' in scope
59 | return self.dequeueReusableCell(withIdentifier: type.className, for: indexPath) as! T
60 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITableView.swift:62:43: error: cannot find type 'UIView' in scope
60 | }
61 |
62 | func reloadWithAnimation(_ animation: UIView.AnimationOptions, duration: TimeInterval) {
| `- error: cannot find type 'UIView' in scope
63 | UIView.transition(
64 | with: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITableView.swift:62:78: error: cannot find type 'TimeInterval' in scope
60 | }
61 |
62 | func reloadWithAnimation(_ animation: UIView.AnimationOptions, duration: TimeInterval) {
| `- error: cannot find type 'TimeInterval' in scope
63 | UIView.transition(
64 | with: self,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITextField.swift:23:43: error: cannot find type 'UIColor' in scope
21 | }
22 |
23 | func setPlaceholderTextColor(_ color: UIColor) {
| `- error: cannot find type 'UIColor' in scope
24 | self.attributedPlaceholder = NSAttributedString(string: self.placeholder != nil ? self.placeholder! : "", attributes: [.foregroundColor: color])
25 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UITextField.swift:27:71: error: cannot find type 'NSRange' in scope
25 | }
26 |
27 | func isAvailableInput(limit: Int, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool {
| `- error: cannot find type 'NSRange' in scope
28 | if string.isEmpty {
29 | return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:17:49: error: cannot find type 'UIEdgeInsets' in scope
15 |
16 | /// set constraints to superview edges with insets
17 | func setConstraintsToSuperviewEdges(insets: UIEdgeInsets = .zero) {
| `- error: cannot find type 'UIEdgeInsets' in scope
18 | if let superview = self.superview {
19 | setConstraintsToViewEdges(view: superview, insets: insets)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:24:42: error: cannot find type 'UIView' in scope
22 |
23 | /// set constraints to view edges with insets
24 | func setConstraintsToViewEdges(view: UIView, insets: UIEdgeInsets = .zero) {
| `- error: cannot find type 'UIView' in scope
25 | self.translatesAutoresizingMaskIntoConstraints = false
26 | let topConstraint = NSLayoutConstraint(item: self, attribute: .top, relatedBy: .equal, toItem: view, attribute: .top, multiplier: 1, constant: insets.top)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:24:58: error: cannot find type 'UIEdgeInsets' in scope
22 |
23 | /// set constraints to view edges with insets
24 | func setConstraintsToViewEdges(view: UIView, insets: UIEdgeInsets = .zero) {
| `- error: cannot find type 'UIEdgeInsets' in scope
25 | self.translatesAutoresizingMaskIntoConstraints = false
26 | let topConstraint = NSLayoutConstraint(item: self, attribute: .top, relatedBy: .equal, toItem: view, attribute: .top, multiplier: 1, constant: insets.top)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:34:34: error: cannot find type 'UIView' in scope
32 |
33 | /// set constraints to fill view
34 | func addConstrained(subview: UIView) {
| `- error: cannot find type 'UIView' in scope
35 | addSubview(subview)
36 | subview.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:76:32: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
74 | }
75 |
76 | func roundCorners(topLeft: CGFloat = 0, topRight: CGFloat = 0, bottomLeft: CGFloat = 0, bottomRight: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
77 | let topLeftRadius = CGSize(width: topLeft, height: topLeft)
78 | let topRightRadius = CGSize(width: topRight, height: topRight)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:76:55: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
74 | }
75 |
76 | func roundCorners(topLeft: CGFloat = 0, topRight: CGFloat = 0, bottomLeft: CGFloat = 0, bottomRight: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
77 | let topLeftRadius = CGSize(width: topLeft, height: topLeft)
78 | let topRightRadius = CGSize(width: topRight, height: topRight)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:76:80: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
74 | }
75 |
76 | func roundCorners(topLeft: CGFloat = 0, topRight: CGFloat = 0, bottomLeft: CGFloat = 0, bottomRight: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
77 | let topLeftRadius = CGSize(width: topLeft, height: topLeft)
78 | let topRightRadius = CGSize(width: topRight, height: topRight)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:76:106: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
74 | }
75 |
76 | func roundCorners(topLeft: CGFloat = 0, topRight: CGFloat = 0, bottomLeft: CGFloat = 0, bottomRight: CGFloat = 0) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
77 | let topLeftRadius = CGSize(width: topLeft, height: topLeft)
78 | let topRightRadius = CGSize(width: topRight, height: topRight)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:87:24: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
85 | }
86 |
87 | func rotate(angle: CGFloat) {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
88 | let radians = angle / 180.0 * CGFloat.pi
89 | let rotation = self.transform.rotated(by: radians);
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:104:37: error: cannot find type 'UIView' in scope
102 | }
103 |
104 | func view(withId id: String) -> UIView? {
| `- error: cannot find type 'UIView' in scope
105 | if self.id == id {
106 | return self
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:118:42: error: cannot find type 'UIColor' in scope
116 | // MARK: - Gradient
117 |
118 | func createGradientLayer(startColor: UIColor, endColor: UIColor, startPoint: CGPoint = CGPoint(x: 0, y: 0.5), endPoint: CGPoint = CGPoint(x: 1, y: 0.5)) {
| `- error: cannot find type 'UIColor' in scope
119 | let gradientLayer = CAGradientLayer()
120 | gradientLayer.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:118:61: error: cannot find type 'UIColor' in scope
116 | // MARK: - Gradient
117 |
118 | func createGradientLayer(startColor: UIColor, endColor: UIColor, startPoint: CGPoint = CGPoint(x: 0, y: 0.5), endPoint: CGPoint = CGPoint(x: 1, y: 0.5)) {
| `- error: cannot find type 'UIColor' in scope
119 | let gradientLayer = CAGradientLayer()
120 | gradientLayer.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:118:82: error: cannot find type 'CGPoint' in scope
116 | // MARK: - Gradient
117 |
118 | func createGradientLayer(startColor: UIColor, endColor: UIColor, startPoint: CGPoint = CGPoint(x: 0, y: 0.5), endPoint: CGPoint = CGPoint(x: 1, y: 0.5)) {
| `- error: cannot find type 'CGPoint' in scope
119 | let gradientLayer = CAGradientLayer()
120 | gradientLayer.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:118:125: error: cannot find type 'CGPoint' in scope
116 | // MARK: - Gradient
117 |
118 | func createGradientLayer(startColor: UIColor, endColor: UIColor, startPoint: CGPoint = CGPoint(x: 0, y: 0.5), endPoint: CGPoint = CGPoint(x: 1, y: 0.5)) {
| `- error: cannot find type 'CGPoint' in scope
119 | let gradientLayer = CAGradientLayer()
120 | gradientLayer.frame = self.bounds
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIView.swift:130:30: error: cannot find type 'UIImage' in scope
128 | // MARK: - Other
129 |
130 | func takeScreenshot() -> UIImage? {
| `- error: cannot find type 'UIImage' in scope
131 | UIGraphicsBeginImageContextWithOptions(self.bounds.size, false, UIScreen.main.scale)
132 | drawHierarchy(in: self.bounds, afterScreenUpdates: true)
[57/62] Compiling AppViewUtilits Extension+UIViewController.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/62] Compiling AppViewUtilits Extension+UIWindow.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/62] 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
[60/62] 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
[61/62] 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
[62/62] 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
BUILD FAILURE 6.3 macosSpm