Build Information
Failed to build KKPinView, reference main (f3146f), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 05:42:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
145 | // Set initial focus
146 | currentFieldIndex = 0
147 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:156:17: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
155 | if let emptyIndex = pinDigits.firstIndex(where: { $0.isEmpty }) {
156 | pinDigits[emptyIndex] = number
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
158 | currentFieldIndex = emptyIndex + 1
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:158:21: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
156 | pinDigits[emptyIndex] = number
157 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
158 | currentFieldIndex = emptyIndex + 1
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | } else {
160 | // First PIN complete, move to confirmation
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:162:25: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
160 | // First PIN complete, move to confirmation
161 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
162 | isEnteringConfirmPin = true
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
163 | currentFieldIndex = 0
164 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:163:25: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
161 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
162 | isEnteringConfirmPin = true
163 | currentFieldIndex = 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
164 | errorMessage = nil
165 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:164:25: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
162 | isEnteringConfirmPin = true
163 | currentFieldIndex = 0
164 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:171:17: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
169 | // Entering confirmation PIN
170 | if let emptyIndex = confirmPinDigits.firstIndex(where: { $0.isEmpty }) {
171 | confirmPinDigits[emptyIndex] = number
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
173 | currentFieldIndex = emptyIndex + 1
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:173:21: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
171 | confirmPinDigits[emptyIndex] = number
172 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
173 | currentFieldIndex = emptyIndex + 1
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | } else {
175 | // Both PINs complete, validate
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:186:17: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
185 | if let lastFilledIndex = confirmPinDigits.lastIndex(where: { !$0.isEmpty }) {
186 | confirmPinDigits[lastFilledIndex] = ""
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
187 | currentFieldIndex = lastFilledIndex
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:187:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
185 | if let lastFilledIndex = confirmPinDigits.lastIndex(where: { !$0.isEmpty }) {
186 | confirmPinDigits[lastFilledIndex] = ""
187 | currentFieldIndex = lastFilledIndex
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
189 | // All confirmation fields empty, go back to first PIN
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:190:17: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
189 | // All confirmation fields empty, go back to first PIN
190 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
192 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:191:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
189 | // All confirmation fields empty, go back to first PIN
190 | isEnteringConfirmPin = false
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
192 | errorMessage = nil
193 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:192:17: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
190 | isEnteringConfirmPin = false
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
192 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
193 | }
194 | } else {
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:197:17: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
195 | // Deleting from first PIN
196 | if let lastFilledIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) {
197 | pinDigits[lastFilledIndex] = ""
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | currentFieldIndex = lastFilledIndex
199 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:198:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
196 | if let lastFilledIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) {
197 | pinDigits[lastFilledIndex] = ""
198 | currentFieldIndex = lastFilledIndex
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:216:17: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
214 | let saved = KKPinStorage.savePIN(enteredPin)
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:216:32: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
214 | let saved = KKPinStorage.savePIN(enteredPin)
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:217:21: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | showSuccess = true
219 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:218:21: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
216 | withAnimation(.easeInOut(duration: 0.3)) {
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
219 | errorMessage = nil
220 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:219:21: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
219 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:228:17: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
226 | } else {
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | errorMessage = "Failed to save PIN. Please try again."
230 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:228:32: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
226 | } else {
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | errorMessage = "Failed to save PIN. Please try again."
230 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:229:21: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
229 | errorMessage = "Failed to save PIN. Please try again."
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
230 | }
231 | resetAllFields()
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:235:13: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
233 | } else {
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:235:28: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
233 | } else {
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:236:17: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
237 | showSuccess = false
238 | successMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:237:17: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
235 | withAnimation(.easeInOut(duration: 0.3)) {
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
238 | successMessage = nil
239 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:238:17: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
238 | successMessage = nil
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:251:13: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
251 | pinDigits[index] = ""
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
252 | confirmPinDigits[index] = ""
253 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:252:13: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
251 | pinDigits[index] = ""
252 | confirmPinDigits[index] = ""
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
253 | }
254 | isEnteringConfirmPin = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:254:9: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
252 | confirmPinDigits[index] = ""
253 | }
254 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
255 | currentFieldIndex = 0
256 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:255:9: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
253 | }
254 | isEnteringConfirmPin = false
255 | currentFieldIndex = 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
256 | errorMessage = nil
257 | successMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:256:9: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
254 | isEnteringConfirmPin = false
255 | currentFieldIndex = 0
256 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
257 | successMessage = nil
258 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:257:9: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
255 | currentFieldIndex = 0
256 | errorMessage = nil
257 | successMessage = nil
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | showSuccess = false
259 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:258:9: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
256 | errorMessage = nil
257 | successMessage = nil
258 | showSuccess = false
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
259 | }
260 | }
[15/15] Compiling KKPinView KKPINSetUPView.swift
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
41 |
42 | // MARK: - State Management
43 | @State private var pinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
| `- error: 'State' is only available in macOS 10.15 or newer
44 | @State private var confirmPinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
45 | @State private var currentFieldIndex: Int = 0
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:44:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
42 | // MARK: - State Management
43 | @State private var pinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
44 | @State private var confirmPinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
| `- error: 'State' is only available in macOS 10.15 or newer
45 | @State private var currentFieldIndex: Int = 0
46 | @State private var isEnteringConfirmPin: Bool = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:45:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
43 | @State private var pinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
44 | @State private var confirmPinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
45 | @State private var currentFieldIndex: Int = 0
| `- error: 'State' is only available in macOS 10.15 or newer
46 | @State private var isEnteringConfirmPin: Bool = false
47 | @State private var errorMessage: String? = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:46:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
44 | @State private var confirmPinDigits: [String] = Array(repeating: "", count: KKPinviewConstant.totalDigits)
45 | @State private var currentFieldIndex: Int = 0
46 | @State private var isEnteringConfirmPin: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
47 | @State private var errorMessage: String? = nil
48 | @State private var successMessage: String? = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:47:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
45 | @State private var currentFieldIndex: Int = 0
46 | @State private var isEnteringConfirmPin: Bool = false
47 | @State private var errorMessage: String? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
48 | @State private var successMessage: String? = nil
49 | @State private var showSuccess: Bool = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:48:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
46 | @State private var isEnteringConfirmPin: Bool = false
47 | @State private var errorMessage: String? = nil
48 | @State private var successMessage: String? = nil
| `- error: 'State' is only available in macOS 10.15 or newer
49 | @State private var showSuccess: Bool = false
50 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:49:6: error: 'State' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
47 | @State private var errorMessage: String? = nil
48 | @State private var successMessage: String? = nil
49 | @State private var showSuccess: Bool = false
| `- error: 'State' is only available in macOS 10.15 or newer
50 |
51 | public var body: some View {
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:51:27: error: 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:262:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
260 | }
261 |
262 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
263 | KKPINSetUPView(
264 | onSetupComplete: { pin in
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPinViews.swift:258:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
256 | }
257 |
258 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
259 | KKPinViews()
260 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:153:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
151 | }
152 |
153 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
154 | ZStack {
155 | Color.white
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:154:5: error: 'ZStack' is only available in macOS 10.15 or newer
152 |
153 | #Preview {
154 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | Color.white
156 | NumericKeypad(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:155:9: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
153 | #Preview {
154 | ZStack {
155 | Color.white
| |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | NumericKeypad(
157 | onNumberTap: { number in
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:155:9: error: 'Color' is only available in macOS 10.15 or newer
153 | #Preview {
154 | ZStack {
155 | Color.white
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | NumericKeypad(
157 | onNumberTap: { number in
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:155:15: error: 'white' is only available in macOS 10.15 or newer
153 | #Preview {
154 | ZStack {
155 | Color.white
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
156 | NumericKeypad(
157 | onNumberTap: { number in
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/NumericKeypad.swift:154:12: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
152 |
153 | #Preview {
154 | ZStack {
| |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | Color.white
156 | NumericKeypad(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/PinDigitField.swift:144:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
142 | }
143 |
144 | #Preview {
| `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
145 | PinDigitField(text: .constant("5"), isFocused: true)
146 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:52:9: error: 'ZStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | // Background color
54 | KKPinviewConstant.backgroundColor
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:52:28: error: 'center' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | // Background color
54 | KKPinviewConstant.backgroundColor
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:52:36: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | // Background color
54 | KKPinviewConstant.backgroundColor
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:52:36: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | // Background color
54 | KKPinviewConstant.backgroundColor
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:55:18: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
54 | KKPinviewConstant.backgroundColor
55 | .ignoresSafeArea()
| |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
56 |
57 | // ScrollView to fit small screens
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:58:13: error: 'ScrollView' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
56 |
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
| |- error: 'ScrollView' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | VStack(alignment: .center, spacing: 24) {
60 | // Heading message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:58:13: error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
56 |
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
| |- error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | VStack(alignment: .center, spacing: 24) {
60 | // Heading message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:58:59: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
56 |
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | VStack(alignment: .center, spacing: 24) {
60 | // Heading message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:58:59: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
56 |
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
59 | VStack(alignment: .center, spacing: 24) {
60 | // Heading message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:59:17: error: 'VStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
59 | VStack(alignment: .center, spacing: 24) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:59:36: error: 'center' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
59 | VStack(alignment: .center, spacing: 24) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:59:57: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
59 | VStack(alignment: .center, spacing: 24) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:59:57: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
57 | // ScrollView to fit small screens
58 | ScrollView(.vertical, showsIndicators: false) {
59 | VStack(alignment: .center, spacing: 24) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:61:21: error: 'Text' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
59 | VStack(alignment: .center, spacing: 24) {
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | .font(.system(size: KKPinviewConstant.headingFontSize, weight: KKPinviewConstant.headingFontWeight))
63 | .foregroundColor(KKPinviewConstant.textColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:62:26: error: 'font' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
62 | .font(.system(size: KKPinviewConstant.headingFontSize, weight: KKPinviewConstant.headingFontWeight))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | .foregroundColor(KKPinviewConstant.textColor)
64 | .padding(.top, 40)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:62:32: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
60 | // Heading message
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
62 | .font(.system(size: KKPinviewConstant.headingFontSize, weight: KKPinviewConstant.headingFontWeight))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
63 | .foregroundColor(KKPinviewConstant.textColor)
64 | .padding(.top, 40)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:63:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
61 | Text(String(format: KKPinviewConstant.pinSetupHeadingFormat, KKPinviewConstant.totalDigits))
62 | .font(.system(size: KKPinviewConstant.headingFontSize, weight: KKPinviewConstant.headingFontWeight))
63 | .foregroundColor(KKPinviewConstant.textColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .padding(.top, 40)
65 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:64:26: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
62 | .font(.system(size: KKPinviewConstant.headingFontSize, weight: KKPinviewConstant.headingFontWeight))
63 | .foregroundColor(KKPinviewConstant.textColor)
64 | .padding(.top, 40)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 |
66 | // Enter PIN section
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:67:21: error: 'VStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
65 |
66 | // Enter PIN section
67 | VStack(alignment: .center, spacing: 16) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:67:40: error: 'center' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
65 |
66 | // Enter PIN section
67 | VStack(alignment: .center, spacing: 16) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:67:61: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
65 |
66 | // Enter PIN section
67 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:69:25: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
67 | VStack(alignment: .center, spacing: 16) {
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
71 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:69:25: error: 'Text' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
67 | VStack(alignment: .center, spacing: 16) {
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
71 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:70:30: error: 'font' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
70 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
72 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:70:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
70 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
71 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
72 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:71:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
69 | Text(KKPinviewConstant.enterPinLabelText)
70 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
71 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 |
73 | // Enter PIN fields
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:74:25: error: 'HStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
72 |
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
76 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:74:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
72 |
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
76 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:75:29: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | PinDigitField(
77 | text: $pinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:75:29: error: 'ForEach' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | PinDigitField(
77 | text: $pinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:75:29: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
76 | PinDigitField(
77 | text: $pinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:74:73: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
72 |
73 | // Enter PIN fields
74 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
75 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
76 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:83:26: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
81 | }
82 | }
83 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | .opacity(isEnteringConfirmPin ? 0.5 : 1.0)
85 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:84:26: error: 'opacity' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
82 | }
83 | .frame(maxWidth: .infinity)
84 | .opacity(isEnteringConfirmPin ? 0.5 : 1.0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | }
86 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:67:61: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
65 |
66 | // Enter PIN section
67 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
68 | // "Enter the PIN" label
69 | Text(KKPinviewConstant.enterPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:86:22: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
84 | .opacity(isEnteringConfirmPin ? 0.5 : 1.0)
85 | }
86 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
87 |
88 | // Confirm PIN section
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:21: error: 'VStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: 'VStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:40: error: 'center' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: 'center' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:61: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:91:25: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
89 | VStack(alignment: .center, spacing: 16) {
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
93 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:91:25: error: 'Text' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
89 | VStack(alignment: .center, spacing: 16) {
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
92 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
93 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:92:30: error: 'font' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
92 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
93 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
94 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:92:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
92 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
93 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
94 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:93:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
91 | Text(KKPinviewConstant.confirmPinLabelText)
92 | .font(.system(size: KKPinviewConstant.subtitleFontSize, weight: KKPinviewConstant.subtitleFontWeight))
93 | .foregroundColor(KKPinviewConstant.subtitleTextColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
94 |
95 | // Confirm PIN fields
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:96:25: error: 'HStack' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
94 |
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: 'HStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
98 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:96:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
94 |
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
98 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:97:29: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | PinDigitField(
99 | text: $confirmPinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:97:29: error: 'ForEach' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: 'ForEach' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | PinDigitField(
99 | text: $confirmPinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:97:29: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
| |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
98 | PinDigitField(
99 | text: $confirmPinDigits[index],
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:96:73: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
94 |
95 | // Confirm PIN fields
96 | HStack(spacing: KKPinviewConstant.fieldSpacing) {
| |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
97 | ForEach(0..<KKPinviewConstant.totalDigits, id: \.self) { index in
98 | PinDigitField(
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:105:26: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
103 | }
104 | }
105 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 |
107 | // Error message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:109:29: error: 'Text' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
107 | // Error message
108 | if let errorMessage = errorMessage {
109 | Text(errorMessage)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:110:34: error: 'font' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
108 | if let errorMessage = errorMessage {
109 | Text(errorMessage)
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
112 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:110:40: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
108 | if let errorMessage = errorMessage {
109 | Text(errorMessage)
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
112 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:111:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
109 | Text(errorMessage)
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:112:34: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
112 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:113:34: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
111 | .foregroundColor(KKPinviewConstant.errorTextColor)
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
114 | .transition(.opacity.combined(with: .scale))
115 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:114:34: error: 'transition' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:114:46: error: 'opacity' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
| |- error: 'opacity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:114:54: error: 'combined(with:)' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
| |- error: 'combined(with:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:114:70: error: 'scale' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
112 | .multilineTextAlignment(.center)
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
| |- error: 'scale' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:108:60: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
106 |
107 | // Error message
108 | if let errorMessage = errorMessage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | Text(errorMessage)
110 | .font(.system(size: KKPinviewConstant.errorMessageFontSize, weight: KKPinviewConstant.errorMessageFontWeight))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:115:25: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
113 | .padding(.horizontal, 24)
114 | .transition(.opacity.combined(with: .scale))
115 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
116 |
117 | // Success message
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:119:29: error: 'Text' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
117 | // Success message
118 | if showSuccess, let successMessage = successMessage {
119 | Text(successMessage)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
121 | .foregroundColor(KKPinviewConstant.successTextColor)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:120:34: error: 'font' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
118 | if showSuccess, let successMessage = successMessage {
119 | Text(successMessage)
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
121 | .foregroundColor(KKPinviewConstant.successTextColor)
122 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:120:40: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
118 | if showSuccess, let successMessage = successMessage {
119 | Text(successMessage)
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
121 | .foregroundColor(KKPinviewConstant.successTextColor)
122 | .multilineTextAlignment(.center)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:121:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
119 | Text(successMessage)
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
121 | .foregroundColor(KKPinviewConstant.successTextColor)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:122:34: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
121 | .foregroundColor(KKPinviewConstant.successTextColor)
122 | .multilineTextAlignment(.center)
| |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:123:34: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
121 | .foregroundColor(KKPinviewConstant.successTextColor)
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
124 | .transition(.opacity.combined(with: .scale))
125 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:124:34: error: 'transition' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
| |- error: 'transition' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:124:46: error: 'opacity' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
| |- error: 'opacity' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:124:54: error: 'combined(with:)' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
| |- error: 'combined(with:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:124:70: error: 'scale' is only available in macOS 14.0 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
122 | .multilineTextAlignment(.center)
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
| |- error: 'scale' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:118:77: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
116 |
117 | // Success message
118 | if showSuccess, let successMessage = successMessage {
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
119 | Text(successMessage)
120 | .font(.system(size: KKPinviewConstant.successMessageFontSize, weight: KKPinviewConstant.successMessageFontWeight))
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:125:25: error: 'buildIf' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
123 | .padding(.horizontal, 24)
124 | .transition(.opacity.combined(with: .scale))
125 | }
| |- error: 'buildIf' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
126 | }
127 | .padding(.horizontal, 24)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:61: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:61: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:89:61: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
87 |
88 | // Confirm PIN section
89 | VStack(alignment: .center, spacing: 16) {
| |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
90 | // "Confirm the PIN" label
91 | Text(KKPinviewConstant.confirmPinLabelText)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:127:22: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
125 | }
126 | }
127 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
128 |
129 | // Numeric Keypad
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:138:22: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
136 | }
137 | )
138 | .padding(.horizontal, 24)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
139 | .padding(.bottom, 40)
140 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:139:22: error: 'padding' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
137 | )
138 | .padding(.horizontal, 24)
139 | .padding(.bottom, 40)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
140 | }
141 | .frame(maxWidth: .infinity)
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:141:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
139 | .padding(.bottom, 40)
140 | }
141 | .frame(maxWidth: .infinity)
| |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
142 | }
143 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:144:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
142 | }
143 | }
144 | .onAppear {
| |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
145 | // Set initial focus
146 | currentFieldIndex = 0
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:146:13: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
144 | .onAppear {
145 | // Set initial focus
146 | currentFieldIndex = 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
147 | isEnteringConfirmPin = false
148 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:147:13: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
49 | @State private var showSuccess: Bool = false
50 |
51 | public var body: some View {
| `- note: add '@available' attribute to enclosing property
52 | ZStack(alignment: .center) {
53 | // Background color
:
145 | // Set initial focus
146 | currentFieldIndex = 0
147 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
148 | }
149 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:156:17: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
155 | if let emptyIndex = pinDigits.firstIndex(where: { $0.isEmpty }) {
156 | pinDigits[emptyIndex] = number
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
158 | currentFieldIndex = emptyIndex + 1
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:158:21: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
156 | pinDigits[emptyIndex] = number
157 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
158 | currentFieldIndex = emptyIndex + 1
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
159 | } else {
160 | // First PIN complete, move to confirmation
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:162:25: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
160 | // First PIN complete, move to confirmation
161 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
162 | isEnteringConfirmPin = true
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
163 | currentFieldIndex = 0
164 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:163:25: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
161 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
162 | isEnteringConfirmPin = true
163 | currentFieldIndex = 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
164 | errorMessage = nil
165 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:164:25: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
162 | isEnteringConfirmPin = true
163 | currentFieldIndex = 0
164 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:171:17: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
169 | // Entering confirmation PIN
170 | if let emptyIndex = confirmPinDigits.firstIndex(where: { $0.isEmpty }) {
171 | confirmPinDigits[emptyIndex] = number
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
172 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
173 | currentFieldIndex = emptyIndex + 1
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:173:21: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
150 |
151 | // MARK: - Helper Methods
152 | private func handleNumberTap(_ number: String) {
| `- note: add '@available' attribute to enclosing instance method
153 | if !isEnteringConfirmPin {
154 | // Entering first PIN
:
171 | confirmPinDigits[emptyIndex] = number
172 | if emptyIndex < KKPinviewConstant.totalDigits - 1 {
173 | currentFieldIndex = emptyIndex + 1
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
174 | } else {
175 | // Both PINs complete, validate
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:186:17: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
185 | if let lastFilledIndex = confirmPinDigits.lastIndex(where: { !$0.isEmpty }) {
186 | confirmPinDigits[lastFilledIndex] = ""
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
187 | currentFieldIndex = lastFilledIndex
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:187:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
185 | if let lastFilledIndex = confirmPinDigits.lastIndex(where: { !$0.isEmpty }) {
186 | confirmPinDigits[lastFilledIndex] = ""
187 | currentFieldIndex = lastFilledIndex
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
189 | // All confirmation fields empty, go back to first PIN
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:190:17: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
188 | } else if confirmPinDigits.allSatisfy({ $0.isEmpty }) {
189 | // All confirmation fields empty, go back to first PIN
190 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
192 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:191:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
189 | // All confirmation fields empty, go back to first PIN
190 | isEnteringConfirmPin = false
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
192 | errorMessage = nil
193 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:192:17: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
190 | isEnteringConfirmPin = false
191 | currentFieldIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) ?? 0
192 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
193 | }
194 | } else {
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:197:17: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
195 | // Deleting from first PIN
196 | if let lastFilledIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) {
197 | pinDigits[lastFilledIndex] = ""
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
198 | currentFieldIndex = lastFilledIndex
199 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:198:17: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
180 | }
181 |
182 | private func handleDeleteTap() {
| `- note: add '@available' attribute to enclosing instance method
183 | if isEnteringConfirmPin {
184 | // Deleting from confirmation PIN
:
196 | if let lastFilledIndex = pinDigits.lastIndex(where: { !$0.isEmpty }) {
197 | pinDigits[lastFilledIndex] = ""
198 | currentFieldIndex = lastFilledIndex
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:216:17: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
214 | let saved = KKPinStorage.savePIN(enteredPin)
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:216:32: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
214 | let saved = KKPinStorage.savePIN(enteredPin)
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:217:21: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
215 | if saved {
216 | withAnimation(.easeInOut(duration: 0.3)) {
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
218 | showSuccess = true
219 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:218:21: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
216 | withAnimation(.easeInOut(duration: 0.3)) {
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
219 | errorMessage = nil
220 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:219:21: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
217 | successMessage = KKPinviewConstant.pinSetupSuccessText
218 | showSuccess = true
219 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:228:17: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
226 | } else {
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | errorMessage = "Failed to save PIN. Please try again."
230 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:228:32: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
226 | } else {
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
229 | errorMessage = "Failed to save PIN. Please try again."
230 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:229:21: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
227 | // Failed to save
228 | withAnimation(.easeInOut(duration: 0.3)) {
229 | errorMessage = "Failed to save PIN. Please try again."
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
230 | }
231 | resetAllFields()
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:235:13: error: 'withAnimation' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
233 | } else {
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'withAnimation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:235:28: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
233 | } else {
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
| |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:236:17: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
234 | // PINs don't match - Show error and reset
235 | withAnimation(.easeInOut(duration: 0.3)) {
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
237 | showSuccess = false
238 | successMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:237:17: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
235 | withAnimation(.easeInOut(duration: 0.3)) {
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
238 | successMessage = nil
239 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:238:17: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
201 | }
202 |
203 | private func validateAndSavePINs() {
| `- note: add '@available' attribute to enclosing instance method
204 | let enteredPin = pinDigits.joined()
205 | let confirmPin = confirmPinDigits.joined()
:
236 | errorMessage = KKPinviewConstant.pinMismatchErrorText
237 | showSuccess = false
238 | successMessage = nil
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:251:13: error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
251 | pinDigits[index] = ""
| |- error: cannot pass as inout because setter for 'pinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
252 | confirmPinDigits[index] = ""
253 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:252:13: error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
251 | pinDigits[index] = ""
252 | confirmPinDigits[index] = ""
| |- error: cannot pass as inout because setter for 'confirmPinDigits' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
253 | }
254 | isEnteringConfirmPin = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:254:9: error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
252 | confirmPinDigits[index] = ""
253 | }
254 | isEnteringConfirmPin = false
| |- error: setter for 'isEnteringConfirmPin' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
255 | currentFieldIndex = 0
256 | errorMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:255:9: error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
253 | }
254 | isEnteringConfirmPin = false
255 | currentFieldIndex = 0
| |- error: setter for 'currentFieldIndex' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
256 | errorMessage = nil
257 | successMessage = nil
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:256:9: error: setter for 'errorMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
254 | isEnteringConfirmPin = false
255 | currentFieldIndex = 0
256 | errorMessage = nil
| |- error: setter for 'errorMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
257 | successMessage = nil
258 | showSuccess = false
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:257:9: error: setter for 'successMessage' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
255 | currentFieldIndex = 0
256 | errorMessage = nil
257 | successMessage = nil
| |- error: setter for 'successMessage' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
258 | showSuccess = false
259 | }
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KKPINSetUPView.swift:258:9: error: setter for 'showSuccess' is only available in macOS 10.15 or newer
30 | /// - Note: Available on iOS 15.0 and later
31 | @available(iOS 15.0, *)
32 | public struct KKPINSetUPView: View {
| `- note: add '@available' attribute to enclosing struct
33 | /// Callback when PIN setup is completed successfully
34 | public var onSetupComplete: ((String) -> Void)? = nil
:
246 | }
247 |
248 | private func resetAllFields() {
| `- note: add '@available' attribute to enclosing instance method
249 | // Reset all fields
250 | for index in 0..<pinDigits.count {
:
256 | errorMessage = nil
257 | successMessage = nil
258 | showSuccess = false
| |- error: setter for 'showSuccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
259 | }
260 | }
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/KKPinView/Sources/KKPinView/KeyGenerator/README.md
BUILD FAILURE 6.3 macosSpm