Build Information
Failed to build AlbyKit, reference main (55196d), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 18:22:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SparrowTek/AlbyKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SparrowTek/AlbyKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 55196d8 Update README.md
Cloned https://github.com/SparrowTek/AlbyKit.git
Revision (git rev-parse @):
55196d8abd454b12697782ad30b259aadcabd57e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SparrowTek/AlbyKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SparrowTek/AlbyKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/45] Emitting module AlbyKit
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:167: error: cannot find type 'SFSafariViewController' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:67: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:106: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:69: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:108: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:88:25: error: cannot find type 'SFSafariViewControllerDelegate' in scope
86 | }
87 |
88 | extension OAuthService: SFSafariViewControllerDelegate {
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:90:61: error: cannot find type 'SFSafariViewController' in scope
88 | extension OAuthService: SFSafariViewControllerDelegate {
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
| `- error: cannot find type 'SFSafariViewController' in scope
91 | // NO-OP
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:13:19: error: cannot find type 'SFSafariViewControllerDelegate' in scope
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:14:38: error: cannot find type 'UIColor' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
15 | var preferredBarTintColor: UIColor?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:15:32: error: cannot find type 'UIColor' in scope
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:59: error: cannot find type 'SFSafariViewController' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:47: error: cannot find type 'Context' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'Context' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:60: error: cannot find type 'SFSafariViewController' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'SFSafariViewController' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:93: error: cannot find type 'Context' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:11:27: error: cannot find type 'UIViewControllerRepresentable' in scope
9 | @preconcurrency import SafariServices
10 |
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
[4/49] Compiling AlbyKit Keysend.swift
[5/49] Compiling AlbyKit PersonalInformation.swift
[6/49] Compiling AlbyKit AlbyCodable.swift
[7/49] Compiling AlbyKit AlbyError.swift
[8/49] Compiling AlbyKit Currency.swift
[9/49] Compiling AlbyKit URLParameterEncoder.swift
[10/49] Compiling AlbyKit CharacterSet.swift
[11/49] Compiling AlbyKit Encodable.swift
[12/49] Compiling AlbyKit EndpointType.swift
[13/49] Compiling AlbyKit GeneratedInvoice.swift
[14/49] Compiling AlbyKit LightningAddressDetails.swift
[15/49] Compiling AlbyKit LightningAddressError.swift
[16/49] Compiling AlbyKit Scopes.swift
[17/49] Compiling AlbyKit Token.swift
[18/49] Compiling AlbyKit Bolt11Payment.swift
[19/49] Compiling AlbyKit Bolt11PaymentUploadModel.swift
[20/49] Compiling AlbyKit KeysendPayment.swift
[21/49] Compiling AlbyKit KeysendPaymentUploadModel.swift
[22/49] Compiling AlbyKit Storage.swift
[23/49] Compiling AlbyKit StatusCode.swift
[24/49] Compiling AlbyKit AccountsService.swift
[25/49] Compiling AlbyKit InvoicesService.swift
[26/49] Compiling AlbyKit LightningAddressDetailsProxyService.swift
[27/49] Compiling AlbyKit Bolt11Invoice.swift
[28/49] Compiling AlbyKit CreatedInvoice.swift
[29/49] Compiling AlbyKit Invoice.swift
[30/49] Compiling AlbyKit InvoiceHistoryUploadModel.swift
[31/49] Compiling AlbyKit InvoiceUploadModel.swift
[32/49] Compiling AlbyKit HTTPMethod.swift
[33/49] Compiling AlbyKit HTTPTask.swift
[34/49] Compiling AlbyKit NetworkRouter.swift
[35/49] Compiling AlbyKit NetworkingProtocol.swift
[36/49] Compiling AlbyKit AlbyActor.swift
[37/49] Compiling AlbyKit AlbyEnvironment.swift
[38/49] Compiling AlbyKit AlbyKit.swift
[39/49] Compiling AlbyKit AccountBalance.swift
[40/49] Compiling AlbyKit AccountSummary.swift
[41/49] Compiling AlbyKit Unit.swift
[42/49] Compiling AlbyKit Networking.swift
[43/49] Compiling AlbyKit AuthManager.swift
[44/49] Compiling AlbyKit JSONParameterEncoder.swift
[45/49] Compiling AlbyKit ParameterEncoding.swift
[46/49] Compiling AlbyKit OAuthService.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:167: error: cannot find type 'SFSafariViewController' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:67: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:106: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:69: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:108: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:88:25: error: cannot find type 'SFSafariViewControllerDelegate' in scope
86 | }
87 |
88 | extension OAuthService: SFSafariViewControllerDelegate {
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:90:61: error: cannot find type 'SFSafariViewController' in scope
88 | extension OAuthService: SFSafariViewControllerDelegate {
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
| `- error: cannot find type 'SFSafariViewController' in scope
91 | // NO-OP
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:25:36: error: cannot find 'SFSafariViewController' in scope
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
26 | safariViewController.delegate = self
27 | safariViewController.preferredBarTintColor = preferredBarTintColor
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:13:19: error: cannot find type 'SFSafariViewControllerDelegate' in scope
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:14:38: error: cannot find type 'UIColor' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
15 | var preferredBarTintColor: UIColor?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:15:32: error: cannot find type 'UIColor' in scope
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:59: error: cannot find type 'SFSafariViewController' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:47: error: cannot find type 'Context' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'Context' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:60: error: cannot find type 'SFSafariViewController' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'SFSafariViewController' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:93: error: cannot find type 'Context' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:11:27: error: cannot find type 'UIViewControllerRepresentable' in scope
9 | @preconcurrency import SafariServices
10 |
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:18:24: error: cannot find 'SFSafariViewController' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
18 | let safariVC = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
19 | safariVC.delegate = delegate
20 | safariVC.preferredControlTintColor = preferredControlerTintColor
[47/49] Compiling AlbyKit PaymentsService.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:167: error: cannot find type 'SFSafariViewController' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:67: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:106: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:69: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:108: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:88:25: error: cannot find type 'SFSafariViewControllerDelegate' in scope
86 | }
87 |
88 | extension OAuthService: SFSafariViewControllerDelegate {
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:90:61: error: cannot find type 'SFSafariViewController' in scope
88 | extension OAuthService: SFSafariViewControllerDelegate {
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
| `- error: cannot find type 'SFSafariViewController' in scope
91 | // NO-OP
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:25:36: error: cannot find 'SFSafariViewController' in scope
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
26 | safariViewController.delegate = self
27 | safariViewController.preferredBarTintColor = preferredBarTintColor
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:13:19: error: cannot find type 'SFSafariViewControllerDelegate' in scope
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:14:38: error: cannot find type 'UIColor' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
15 | var preferredBarTintColor: UIColor?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:15:32: error: cannot find type 'UIColor' in scope
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:59: error: cannot find type 'SFSafariViewController' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:47: error: cannot find type 'Context' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'Context' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:60: error: cannot find type 'SFSafariViewController' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'SFSafariViewController' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:93: error: cannot find type 'Context' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:11:27: error: cannot find type 'UIViewControllerRepresentable' in scope
9 | @preconcurrency import SafariServices
10 |
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:18:24: error: cannot find 'SFSafariViewController' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
18 | let safariVC = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
19 | safariVC.delegate = delegate
20 | safariVC.preferredControlTintColor = preferredControlerTintColor
[48/49] Compiling AlbyKit ServiceHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:167: error: cannot find type 'SFSafariViewController' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:67: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:106: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:69: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:108: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:88:25: error: cannot find type 'SFSafariViewControllerDelegate' in scope
86 | }
87 |
88 | extension OAuthService: SFSafariViewControllerDelegate {
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:90:61: error: cannot find type 'SFSafariViewController' in scope
88 | extension OAuthService: SFSafariViewControllerDelegate {
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
| `- error: cannot find type 'SFSafariViewController' in scope
91 | // NO-OP
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:25:36: error: cannot find 'SFSafariViewController' in scope
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
26 | safariViewController.delegate = self
27 | safariViewController.preferredBarTintColor = preferredBarTintColor
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:13:19: error: cannot find type 'SFSafariViewControllerDelegate' in scope
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:14:38: error: cannot find type 'UIColor' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
15 | var preferredBarTintColor: UIColor?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:15:32: error: cannot find type 'UIColor' in scope
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:59: error: cannot find type 'SFSafariViewController' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:47: error: cannot find type 'Context' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'Context' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:60: error: cannot find type 'SFSafariViewController' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'SFSafariViewController' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:93: error: cannot find type 'Context' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:11:27: error: cannot find type 'UIViewControllerRepresentable' in scope
9 | @preconcurrency import SafariServices
10 |
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:18:24: error: cannot find 'SFSafariViewController' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
18 | let safariVC = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
19 | safariVC.delegate = delegate
20 | safariVC.preferredControlTintColor = preferredControlerTintColor
[49/49] Compiling AlbyKit SafariView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:167: error: cannot find type 'SFSafariViewController' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:67: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:23:106: error: cannot find type 'UIColor' in scope
21 | /// Get a `SFSafariViewController` to authenticate Alby
22 | @MainActor
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
| `- error: cannot find type 'UIColor' in scope
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:69: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:33:108: error: cannot find type 'UIColor' in scope
31 |
32 | /// Get a SafariView - a swiftUI `UIViewControllerRepresentable` that wraps `SFSafariViewController` and will allow Alby authentication
33 | public func getAuthCodeWithSwiftUI(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) throws -> SafariView {
| `- error: cannot find type 'UIColor' in scope
34 | let url = try getAuthURL(withScopes: scopes)
35 | let safariView = SafariView(url: url, delegate: self, preferredControlerTintColor: preferredControlerTintColor, preferredBarTintColor: preferredBarTintColor)
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:88:25: error: cannot find type 'SFSafariViewControllerDelegate' in scope
86 | }
87 |
88 | extension OAuthService: SFSafariViewControllerDelegate {
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:90:61: error: cannot find type 'SFSafariViewController' in scope
88 | extension OAuthService: SFSafariViewControllerDelegate {
89 | nonisolated
90 | public func safariViewControllerDidFinish(_ controller: SFSafariViewController) {
| `- error: cannot find type 'SFSafariViewController' in scope
91 | // NO-OP
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Services/OAuthService.swift:25:36: error: cannot find 'SFSafariViewController' in scope
23 | public func getAuthCodeWithUIKit(preferredControlerTintColor: UIColor? = nil, preferredBarTintColor: UIColor? = nil, withScopes scopes: [Scopes]) async throws -> SFSafariViewController {
24 | let url = try await getAuthURL(withScopes: scopes)
25 | let safariViewController = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
26 | safariViewController.delegate = self
27 | safariViewController.preferredBarTintColor = preferredBarTintColor
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:13:19: error: cannot find type 'SFSafariViewControllerDelegate' in scope
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
| `- error: cannot find type 'SFSafariViewControllerDelegate' in scope
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:14:38: error: cannot find type 'UIColor' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
15 | var preferredBarTintColor: UIColor?
16 |
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:15:32: error: cannot find type 'UIColor' in scope
13 | var delegate: SFSafariViewControllerDelegate?
14 | var preferredControlerTintColor: UIColor?
15 | var preferredBarTintColor: UIColor?
| `- error: cannot find type 'UIColor' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:59: error: cannot find type 'SFSafariViewController' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'SFSafariViewController' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:17:47: error: cannot find type 'Context' in scope
15 | var preferredBarTintColor: UIColor?
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
| `- error: cannot find type 'Context' in scope
18 | let safariVC = SFSafariViewController(url: url)
19 | safariVC.delegate = delegate
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:60: error: cannot find type 'SFSafariViewController' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'SFSafariViewController' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:25:93: error: cannot find type 'Context' in scope
23 | }
24 |
25 | public func updateUIViewController(_ uiViewController: SFSafariViewController, context: Context) {
| `- error: cannot find type 'Context' in scope
26 | // Update the controller if needed.
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:11:27: error: cannot find type 'UIViewControllerRepresentable' in scope
9 | @preconcurrency import SafariServices
10 |
11 | public struct SafariView: UIViewControllerRepresentable, Sendable {
| `- error: cannot find type 'UIViewControllerRepresentable' in scope
12 | let url: URL
13 | var delegate: SFSafariViewControllerDelegate?
/Users/admin/builder/spi-builder-workspace/Sources/AlbyKit/Views/SafariView.swift:18:24: error: cannot find 'SFSafariViewController' in scope
16 |
17 | public func makeUIViewController(context: Context) -> SFSafariViewController {
18 | let safariVC = SFSafariViewController(url: url)
| `- error: cannot find 'SFSafariViewController' in scope
19 | safariVC.delegate = delegate
20 | safariVC.preferredControlTintColor = preferredControlerTintColor
BUILD FAILURE 6.2 macosSpm