The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TagLayoutView, reference master (904a14), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 02:47:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giiiita/TagLayoutView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giiiita/TagLayoutView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 904a146 Merge pull request #9 from codelathe/add_podspec
Cloned https://github.com/giiiita/TagLayoutView.git
Revision (git rev-parse @):
904a146de13f1ef6468a8d3644a51f84a530752d
SUCCESS checkout https://github.com/giiiita/TagLayoutView.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/giiiita/TagLayoutView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Compiling TagLayoutView TagLayoutView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:15:26: error: cannot find type 'UIFont' in scope
13 |
14 |     private let tags: [String]
15 |     private var tagFont: UIFont
   |                          `- error: cannot find type 'UIFont' in scope
16 |     private let padding: CGFloat
17 |     private let parentWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:22:26: error: cannot find type 'UIFont' in scope
20 |
21 |     public init(_ tags: [String],
22 |                 tagFont: UIFont,
   |                          `- error: cannot find type 'UIFont' in scope
23 |                 padding: CGFloat,
24 |                 parentWidth: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:70:28: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                |           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:12:59: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               |                                           `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:86:40: error: cannot find type 'UIFont' in scope
84 | extension String {
85 |
86 |     func widthOfString(usingFont font: UIFont) -> CGFloat {
   |                                        `- error: cannot find type 'UIFont' in scope
87 |         let fontAttributes = [NSAttributedString.Key.font: font]
88 |         let size = self.size(withAttributes: fontAttributes)
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:71:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
   |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:71:9: error: 'VStack' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
   |         |- error: 'VStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:71:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
   |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:71:28: error: 'leading' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
   |                            |- error: 'leading' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:72:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:72:13: error: 'ForEach' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:72:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:73:17: error: 'HStack' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
   |                 |- error: 'HStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:74:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
   |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
76 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:74:21: error: 'ForEach' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
   |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
76 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:74:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
   |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
76 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:77:21: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   :
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
76 |                     }
77 |                     Spacer()
   |                     |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
78 |                 }.padding(.vertical, 4)
79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:77:21: error: 'Spacer' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   :
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
76 |                     }
77 |                     Spacer()
   |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
78 |                 }.padding(.vertical, 4)
79 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:73:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
   |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:73:24: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
   |                        |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                        `- note: add 'if #available' version check
74 |                     ForEach(0 ..< self.elementsCountByRow[rowIndex], id: \.self) { elementIndex in
75 |                         self.content(self.getTag(elementsCountByRow: self.elementsCountByRow, rowIndex: rowIndex, elementIndex: elementIndex))
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:78:19: error: 'padding' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
   :
76 |                     }
77 |                     Spacer()
78 |                 }.padding(.vertical, 4)
   |                   |- error: 'padding' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
79 |             }
80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:71:49: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
   |                                                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                 `- note: add 'if #available' version check
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
73 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:70:33: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |                `- note: add 'if #available' version check
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:70:33: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |                `- note: add 'if #available' version check
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
[4/4] Emitting module TagLayoutView
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:15:26: error: cannot find type 'UIFont' in scope
13 |
14 |     private let tags: [String]
15 |     private var tagFont: UIFont
   |                          `- error: cannot find type 'UIFont' in scope
16 |     private let padding: CGFloat
17 |     private let parentWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:22:26: error: cannot find type 'UIFont' in scope
20 |
21 |     public init(_ tags: [String],
22 |                 tagFont: UIFont,
   |                          `- error: cannot find type 'UIFont' in scope
23 |                 padding: CGFloat,
24 |                 parentWidth: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:70:28: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
   :
68 |     }
69 |
70 |     public var body : some View {
   |                |           `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
71 |         VStack(alignment: .leading, spacing: 0) {
72 |             ForEach(0 ..< self.elementsCountByRow.count, id: \.self) { rowIndex in
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:12:59: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public struct TagLayoutView<Content>: View where Content: View {
   |               |                                           `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
13 |
14 |     private let tags: [String]
/Users/admin/builder/spi-builder-workspace/Sources/TagLayoutView/TagLayoutView.swift:86:40: error: cannot find type 'UIFont' in scope
84 | extension String {
85 |
86 |     func widthOfString(usingFont font: UIFont) -> CGFloat {
   |                                        `- error: cannot find type 'UIFont' in scope
87 |         let fontAttributes = [NSAttributedString.Key.font: font]
88 |         let size = self.size(withAttributes: fontAttributes)
BUILD FAILURE 6.2 macosSpm