The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Hellgate-iOS-SDK, reference v1.0.0 (952c34), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 17:55:26 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/starfish-codes/hgate2-ios-headless-sdk.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/starfish-codes/hgate2-ios-headless-sdk
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 952c34c Initial commit
Cloned https://github.com/starfish-codes/hgate2-ios-headless-sdk.git
Revision (git rev-parse @):
952c34c1235d378987a319d3978cc12bf415274e
SUCCESS checkout https://github.com/starfish-codes/hgate2-ios-headless-sdk.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/starfish-codes/hgate2-ios-headless-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 95]
[Planning deferred tasks]
[33 / 48] Hellgate-iOS-SDK_Hellgate-iOS-SDK
[38 / 48]
[39 / 49] Hellgate-iOS-SDK
[49 / 126]
[52 / 126]
[60 / 126]
[62 / 126]
[63 / 126]
[68 / 126]
[71 / 126]
[74 / 126]
[80 / 126]
[83 / 126]
[85 / 126]
[86 / 126]
[96 / 126]
[98 / 126]
[99 / 126]
[102 / 126]
[104 / 126]
[116 / 126] Hellgate-iOS-SDK
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:22:23: error: cannot find type 'UIKeyboardType' in scope
 20 |         foregroundColor: Color = .black,
 21 |         backgroundColor: Color = .white,
 22 |         keyboardType: UIKeyboardType = .numberPad,
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 23 |         formatter: Formatter?,
 24 |         onBegin: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:190:1: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
188 | #if swift(>=5.9)
189 |
190 | #Preview {
    | `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
191 |
192 |     var data = ""
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:10:23: error: cannot find type 'UIKeyboardType' in scope
  8 |     var foregroundColor: Color
  9 |     var backgroundColor: Color
 10 |     var keyboardType: UIKeyboardType
    |                       `- error: cannot find type 'UIKeyboardType' in scope
 11 |     var formatter: Formatter?
 12 |
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:38:54: error: cannot find type 'UITextField' in scope
 36 |     }
 37 |
 38 |     public func makeUIView(context: Self.Context) -> UITextField {
    |                                                      `- error: cannot find type 'UITextField' in scope
 39 |         let textField = UITextField()
 40 |         textField.font = UIFont.systemFont(ofSize: CGFloat(self.fontSize))
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:38:42: error: 'Context' is not a member type of struct 'Hellgate_iOS_SDK.WrappedUITextField'
  1 | import SwiftUI
  2 |
  3 | public struct WrappedUITextField: UIViewRepresentable {
    |               `- note: 'WrappedUITextField' declared here
  4 |
  5 |     @Binding var value: String
    :
 36 |     }
 37 |
 38 |     public func makeUIView(context: Self.Context) -> UITextField {
    |                                          `- error: 'Context' is not a member type of struct 'Hellgate_iOS_SDK.WrappedUITextField'
 39 |         let textField = UITextField()
 40 |         textField.font = UIFont.systemFont(ofSize: CGFloat(self.fontSize))
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:70:40: error: cannot find type 'UITextField' in scope
 68 |     }
 69 |
 70 |     public func updateUIView(_ uiView: UITextField, context: Self.Context) {
    |                                        `- error: cannot find type 'UITextField' in scope
 71 |         let textField = uiView
 72 |         textField.placeholder = self.placeholder
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:70:67: error: 'Context' is not a member type of struct 'Hellgate_iOS_SDK.WrappedUITextField'
  1 | import SwiftUI
  2 |
  3 | public struct WrappedUITextField: UIViewRepresentable {
    |               `- note: 'WrappedUITextField' declared here
  4 |
  5 |     @Binding var value: String
    :
 68 |     }
 69 |
 70 |     public func updateUIView(_ uiView: UITextField, context: Self.Context) {
    |                                                                   `- error: 'Context' is not a member type of struct 'Hellgate_iOS_SDK.WrappedUITextField'
 71 |         let textField = uiView
 72 |         textField.placeholder = self.placeholder
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:92:41: error: cannot find type 'UITextFieldDelegate' in scope
 90 |     }
 91 |
 92 |     public class Coordinator: NSObject, UITextFieldDelegate {
    |                                         `- error: cannot find type 'UITextFieldDelegate' in scope
 93 |
 94 |         @Binding var value: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:115:59: error: cannot find type 'UITextField' in scope
113 |         }
114 |
115 |         public func textFieldDidBeginEditing(_ textField: UITextField) {
    |                                                           `- error: cannot find type 'UITextField' in scope
116 |             onBegin?()
117 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:119:57: error: cannot find type 'UITextField' in scope
117 |         }
118 |
119 |         public func textFieldDidEndEditing(_ textField: UITextField) {
    |                                                         `- error: cannot find type 'UITextField' in scope
120 |             onEnd?()
121 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:124:26: error: cannot find type 'UITextField' in scope
122 |
123 |         public func textField(
124 |             _ textField: UITextField,
    |                          `- error: cannot find type 'UITextField' in scope
125 |             shouldChangeCharactersIn range: NSRange,
126 |             replacementString string: String
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:182:57: error: cannot find type 'UIBarButtonItem' in scope
180 |         }
181 |
182 |         @objc public func tappedDoneButton(_ barButton: UIBarButtonItem) {
    |                                                         `- error: cannot find type 'UIBarButtonItem' in scope
183 |             resign?()
184 |         }
/Users/admin/builder/spi-builder-workspace/Hellgate iOS SDK/Views/WrappedUITextField.swift:3:35: error: cannot find type 'UIViewRepresentable' in scope
  1 | import SwiftUI
  2 |
  3 | public struct WrappedUITextField: UIViewRepresentable {
    |                                   `- error: cannot find type 'UIViewRepresentable' in scope
  4 |
  5 |     @Binding var value: String
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/DerivedSources/resource_bundle_accessor.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/CardData.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/CardHandler.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/Client/ExTokenizeClient.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/Client/GuardianClient.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/Client/HellgateClient.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/Client/HttpClient.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/Hellgate.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/InvalidSessionState.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/SessionCompleteTokenizeCard.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/SessionResponse.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/SessionState.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/TokenService.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/API/TokenizeCardResponse.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Utils/Bundle.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Utils/CardBrand+BrandDetails.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Utils/CardBrand.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Utils/CardUtils.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/AdditionalFieldsView.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/CardNumberFormatter.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/CardNumberView.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/CvcFormatter.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/CvcView.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/ExpiryDateFormatter.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/ExpiryDateView.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/ViewState.swift /Users/admin/builder/spi-builder-workspace/Hellgate\ iOS\ SDK/Views/WrappedUITextField.swift /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/DerivedSources/GeneratedAssetSymbols.swift -target arm64-apple-macos12.0 -module-can-import-version AppKit 2775.10.103.1 2775.10.103 -module-can-import-version DeveloperToolsSupport 24.0.24 24.0.24 -module-can-import-version SwiftUI 8.0.84.1 8.0.84 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate_iOS_SDK-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Hellgate_iOS_SDK -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate-iOS-SDK_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate_iOS_SDK.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate_iOS_SDK.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate-iOS-SDK-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate-iOS-SDK-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate-iOS-SDK-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate_iOS_SDK.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/Hellgate-iOS-SDK.build/Debug/Hellgate-iOS-SDK-t.build/Objects-normal/arm64/Hellgate_iOS_SDK.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm