Build Information
Failed to build AlertMaster, reference master (9a8f40), with Swift 6.3 for macOS (SPM) on 11 Aug 2026 15:08:34 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[48/64] Compiling AppViewUtilits Extension+Collection.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:12:18: error: cannot find type 'CGFloat' in scope
10 | #endif
11 |
12 | public extension CGFloat {
| `- error: cannot find type 'CGFloat' in scope
13 |
14 | var angle: CGFloat {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:38:24: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:13:18: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:59:18: error: cannot find type 'UIColor' in scope
57 |
58 | @available(iOS 13.0, *)
59 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:19:18: error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
18 | else {
19 | self.init(white: 1.0)
| |- error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | return
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:28:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
:
26 | }
27 |
28 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | red: CGFloat((Int(hex, radix: 16)! >> 16) & 0xFF) / 255.0,
30 | green: CGFloat((Int(hex, radix: 16)! >> 8) & 0xFF) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:35:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
32 | }
33 |
34 | init(r: Double, g: Double, b: Double) {
| `- note: add '@available' attribute to enclosing initializer
35 | self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:26: error: 'red' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:26: error: 'orange' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:26: error: 'yellow' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:26: error: 'green' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:26: error: 'blue' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[49/64] Compiling AppViewUtilits Extension+Color.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:12:18: error: cannot find type 'CGFloat' in scope
10 | #endif
11 |
12 | public extension CGFloat {
| `- error: cannot find type 'CGFloat' in scope
13 |
14 | var angle: CGFloat {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:38:24: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:13:18: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:59:18: error: cannot find type 'UIColor' in scope
57 |
58 | @available(iOS 13.0, *)
59 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:19:18: error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
18 | else {
19 | self.init(white: 1.0)
| |- error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | return
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:28:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
:
26 | }
27 |
28 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | red: CGFloat((Int(hex, radix: 16)! >> 16) & 0xFF) / 255.0,
30 | green: CGFloat((Int(hex, radix: 16)! >> 8) & 0xFF) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:35:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
32 | }
33 |
34 | init(r: Double, g: Double, b: Double) {
| `- note: add '@available' attribute to enclosing initializer
35 | self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:26: error: 'red' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:26: error: 'orange' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:26: error: 'yellow' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:26: error: 'green' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:26: error: 'blue' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[50/64] Compiling AppViewUtilits Extension+Date.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:12:18: error: cannot find type 'CGFloat' in scope
10 | #endif
11 |
12 | public extension CGFloat {
| `- error: cannot find type 'CGFloat' in scope
13 |
14 | var angle: CGFloat {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:38:24: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:13:18: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:59:18: error: cannot find type 'UIColor' in scope
57 |
58 | @available(iOS 13.0, *)
59 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:19:18: error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
18 | else {
19 | self.init(white: 1.0)
| |- error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | return
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:28:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
:
26 | }
27 |
28 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | red: CGFloat((Int(hex, radix: 16)! >> 16) & 0xFF) / 255.0,
30 | green: CGFloat((Int(hex, radix: 16)! >> 8) & 0xFF) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:35:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
32 | }
33 |
34 | init(r: Double, g: Double, b: Double) {
| `- note: add '@available' attribute to enclosing initializer
35 | self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:26: error: 'red' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:26: error: 'orange' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:26: error: 'yellow' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:26: error: 'green' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:26: error: 'blue' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[51/64] Compiling AppViewUtilits Extension+Dictionary.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:12:18: error: cannot find type 'CGFloat' in scope
10 | #endif
11 |
12 | public extension CGFloat {
| `- error: cannot find type 'CGFloat' in scope
13 |
14 | var angle: CGFloat {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:38:24: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:13:18: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:59:18: error: cannot find type 'UIColor' in scope
57 |
58 | @available(iOS 13.0, *)
59 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:19:18: error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
18 | else {
19 | self.init(white: 1.0)
| |- error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | return
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:28:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
:
26 | }
27 |
28 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | red: CGFloat((Int(hex, radix: 16)! >> 16) & 0xFF) / 255.0,
30 | green: CGFloat((Int(hex, radix: 16)! >> 8) & 0xFF) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:35:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
32 | }
33 |
34 | init(r: Double, g: Double, b: Double) {
| `- note: add '@available' attribute to enclosing initializer
35 | self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:26: error: 'red' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:26: error: 'orange' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:26: error: 'yellow' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:26: error: 'green' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:26: error: 'blue' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[52/64] Compiling AppViewUtilits Extension+Double.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:12:18: error: cannot find type 'CGFloat' in scope
10 | #endif
11 |
12 | public extension CGFloat {
| `- error: cannot find type 'CGFloat' in scope
13 |
14 | var angle: CGFloat {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:38:24: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:13:18: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:59:18: error: cannot find type 'UIColor' in scope
57 |
58 | @available(iOS 13.0, *)
59 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:19:18: error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
18 | else {
19 | self.init(white: 1.0)
| |- error: 'init(_:white:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
20 | return
21 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:28:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
| `- note: add '@available' attribute to enclosing initializer
16 | var hex = string.hasPrefix("#") ? String(string.dropFirst()) : string
17 | guard hex.count == 3 || hex.count == 6
:
26 | }
27 |
28 | self.init(
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | red: CGFloat((Int(hex, radix: 16)! >> 16) & 0xFF) / 255.0,
30 | green: CGFloat((Int(hex, radix: 16)! >> 8) & 0xFF) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:35:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
32 | }
33 |
34 | init(r: Double, g: Double, b: Double) {
| `- note: add '@available' attribute to enclosing initializer
35 | self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0)
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:41:26: error: 'red' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
| |- error: 'red' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
42 | case 1:
43 | return Color.orange
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:43:26: error: 'orange' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
41 | return Color.red
42 | case 1:
43 | return Color.orange
| |- error: 'orange' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
44 | case 2:
45 | return Color.yellow
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:45:26: error: 'yellow' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
43 | return Color.orange
44 | case 2:
45 | return Color.yellow
| |- error: 'yellow' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | case 3:
47 | return Color.green
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:47:26: error: 'green' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
45 | return Color.yellow
46 | case 3:
47 | return Color.green
| |- error: 'green' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
48 | case 4:
49 | return Color.blue
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:49:26: error: 'blue' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
47 | return Color.green
48 | case 4:
49 | return Color.blue
| |- error: 'blue' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
50 | case 5:
51 | return Color.purple
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:20: error: 'Color' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:51:26: error: 'purple' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
49 | return Color.blue
50 | case 5:
51 | return Color.purple
| |- error: 'purple' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
52 | default:
53 | return .black
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:53:21: error: 'black' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public extension Color {
| `- note: add '@available' attribute to enclosing extension
14 |
15 | init(hex string: String) {
:
36 | }
37 |
38 | static var random: Color {
| `- note: add '@available' attribute to enclosing static property
39 | switch (Int.random(in: 0...5)) {
40 | case 0:
:
51 | return Color.purple
52 | default:
53 | return .black
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+CGFloat.swift:14:16: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
12 | public extension CGFloat {
13 |
14 | var angle: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
15 | let radians = self / 180.0 * CGFloat.pi
16 | return radians
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:60: error: cannot find type 'UIColor' in scope
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: cannot find type 'UIColor' in scope
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:62:31: error: '@escaping' only applies to function types
60 |
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
| `- error: '@escaping' only applies to function types
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
64 | ) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:58: error: cannot find type 'UIColor' in scope
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: cannot find type 'UIColor' in scope
64 | ) {
65 | self.init { traitCollection in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Color.swift:63:29: error: '@escaping' only applies to function types
61 | convenience init(
62 | light lightModeColor: @escaping @autoclosure () -> UIColor,
63 | dark darkModeColor: @escaping @autoclosure () -> UIColor
| `- error: '@escaping' only applies to function types
64 | ) {
65 | self.init { traitCollection in
[53/64] Compiling AppViewUtilits Extension+Encodable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[54/64] Compiling AppViewUtilits Extension+FileManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[55/64] Compiling AppViewUtilits Extension+Int.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[56/64] Compiling AppViewUtilits Extension+NSAttributedString.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[57/64] Compiling AppViewUtilits Extension+NSCountedSet.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[58/64] Compiling AppViewUtilits Extension+NSPredicate.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:14:23: error: cannot find type 'Date' in scope
12 | public extension Int {
13 |
14 | func getDate() -> Date {
| `- error: cannot find type 'Date' in scope
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
16 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:18:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
16 | }
17 |
18 | var degreesToRadians: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
19 | return CGFloat(self) * .pi / 180.0
20 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:16: error: cannot find 'Date' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'Date' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:15:44: error: cannot find 'TimeInterval' in scope
13 |
14 | func getDate() -> Date {
15 | return Date(timeIntervalSince1970: TimeInterval(self) / 1000)
| `- error: cannot find 'TimeInterval' in scope
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+Int.swift:19:16: error: cannot find 'CGFloat' in scope
17 |
18 | var degreesToRadians: CGFloat {
19 | return CGFloat(self) * .pi / 180.0
| `- error: cannot find 'CGFloat' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:13:18: error: cannot find type 'NSAttributedString' in scope
11 | #endif
12 |
13 | public extension NSAttributedString {
| `- error: cannot find type 'NSAttributedString' in scope
14 |
15 | /// Calculates the height of the attributed text.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:79: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:45: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+NSAttributedString.swift:20:64: error: cannot find type 'UITextView' in scope
18 | /// - textView: Text view for displayed this text
19 | /// - Returns: The height of the text.
20 | func height(withConstrainedWidth width: CGFloat, textView: UITextView) -> CGFloat {
| `- error: cannot find type 'UITextView' in scope
21 | let adjustedWidth = width - textView.textContainerInset.left - textView.textContainerInset.right - 2 * textView.textContainer.lineFragmentPadding
22 | let constraintRect = CGSize(width: adjustedWidth, height: .greatestFiniteMagnitude)
[59/64] Compiling AppViewUtilits Extension+Notifications.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[60/64] Compiling AppViewUtilits Extension+Optional.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[61/64] Compiling AppViewUtilits Extension+Sequence.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[62/64] Compiling AppViewUtilits Extension+String.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[63/64] Compiling AppViewUtilits Extension+UIApplication.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
[64/64] Compiling AppViewUtilits Extension+UIBezierPath.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:31:60: error: cannot find type 'UIFont' in scope
29 | // MARK: - Size
30 |
31 | func height(withConstrainedWidth width: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
32 | let constraintRect = CGSize(width: width, height: .greatestFiniteMagnitude)
33 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:38:61: error: cannot find type 'UIFont' in scope
36 | }
37 |
38 | func width(withConstrainedHeight height: CGFloat, font: UIFont) -> CGFloat {
| `- error: cannot find type 'UIFont' in scope
39 | let constraintRect = CGSize(width: .greatestFiniteMagnitude, height: height)
40 | let boundingBox = self.boundingRect(with: constraintRect, options: .usesLineFragmentOrigin, attributes: [NSAttributedString.Key.font: font], context: nil)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:78:25: error: cannot find type 'UIColor' in scope
76 | // MARK: - Other
77 |
78 | func toUIColor() -> UIColor {
| `- error: cannot find type 'UIColor' in scope
79 | var cString: String = self.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
80 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:50: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:100:75: error: cannot find type 'UIFont' in scope
98 | }
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
| `- error: cannot find type 'UIFont' in scope
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:86:20: error: cannot find 'UIColor' in scope
84 |
85 | if ((cString.count) != 6) {
86 | return UIColor.gray
| `- error: cannot find 'UIColor' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: cannot find 'UIColor' in scope
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: cannot find 'UIColor' in scope
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:92:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
90 | Scanner(string: cString).scanHexInt32(&rgbValue)
91 |
92 | return UIColor(
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
93 | red: CGFloat((rgbValue & 0xFF0000) >> 16) / 255.0,
94 | green: CGFloat((rgbValue & 0x00FF00) >> 8) / 255.0,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:40: error: cannot find 'UIFont' in scope
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot find 'UIFont' in scope
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:101:79: error: cannot infer contextual base in reference to member 'regular'
99 |
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
| `- error: cannot infer contextual base in reference to member 'regular'
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
103 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+String.swift:102:41: error: cannot find 'UIFont' in scope
100 | func withBoldText(text: String, regularFont: UIFont? = nil, boldFont: UIFont? = nil) -> NSAttributedString {
101 | let labelFont = regularFont ?? UIFont.systemFont(ofSize: 14, weight: .regular)
102 | let labelBoldFont = boldFont ?? UIFont.boldSystemFont(ofSize: labelFont.pointSize)
| `- error: cannot find 'UIFont' in scope
103 |
104 | let fullString = NSMutableAttributedString(string: self, attributes: [NSAttributedString.Key.font: labelFont])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:12:18: error: cannot find type 'UIApplication' in scope
10 | #endif
11 |
12 | public extension UIApplication {
| `- error: cannot find type 'UIApplication' in scope
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:12:18: error: cannot find type 'UIBezierPath' in scope
10 | #endif
11 |
12 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
14 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:118: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIApplication.swift:14:43: error: cannot find type 'UIViewController' in scope
12 | public extension UIApplication {
13 |
14 | class func getTopViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? {
| `- error: cannot find type 'UIViewController' in scope
15 | if let nav = base as? UINavigationController {
16 | return getTopViewController(base: nav.visibleViewController)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:44: error: cannot find type 'CGRect' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGRect' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:67: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:99: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:133: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/AppViewUtilits/Sources/AppViewUtilits/Extensions/Extension+UIBezierPath.swift:13:168: error: cannot find type 'CGSize' in scope
11 |
12 | public extension UIBezierPath {
13 | convenience init(shouldRoundRect rect: CGRect, topLeftRadius: CGSize = .zero, topRightRadius: CGSize = .zero, bottomLeftRadius: CGSize = .zero, bottomRightRadius: CGSize = .zero) {
| `- error: cannot find type 'CGSize' in scope
14 |
15 | self.init()
BUILD FAILURE 6.3 macosSpm