Build Information
Failed to build GameCenterUI, reference 1.0.0 (528c27), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 18:35:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/berikv/GameCenterUI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/berikv/GameCenterUI
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 528c270 License as MIT
Cloned https://github.com/berikv/GameCenterUI.git
Revision (git rev-parse @):
528c270cc26dc848e0358afce6caf5f2d50cb376
SUCCESS checkout https://github.com/berikv/GameCenterUI.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "gamecenterui",
"name": "GameCenterUI",
"url": "https://github.com/berikv/GameCenterUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GameCenterUI",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/berikv/GameCenterUI.git
[1/26] Fetching gamecenterui
Fetched https://github.com/berikv/GameCenterUI.git from cache (1.08s)
Creating working copy for https://github.com/berikv/GameCenterUI.git
Working copy of https://github.com/berikv/GameCenterUI.git resolved at 1.0.0 (528c270)
warning: '.resolve-product-dependencies': dependency 'gamecenterui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/berikv/GameCenterUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/5] Compiling GameCenterUI GameCenterAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:130:29: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
112 | var onAuthenticate: (() -> ())?
113 |
114 | @Published var isAuthenticated = false
| `- note: property declared here
115 | @Published var authenticationError: Error?
116 | @Published var authenticationView: GameCenterAuthenticationView?
:
128 |
129 | // Skip when setting the same value again
130 | guard self.isAuthenticated != GKLocalPlayer.local.isAuthenticated
| `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
131 | else { return }
132 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:133:23: warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
112 | var onAuthenticate: (() -> ())?
113 |
114 | @Published var isAuthenticated = false
| `- note: mutation of this property is only permitted within the actor
115 | @Published var authenticationError: Error?
116 | @Published var authenticationView: GameCenterAuthenticationView?
:
131 | else { return }
132 |
133 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
| `- warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
134 | self.authenticationError = nil
135 | self.authenticationView = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:134:23: warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
113 |
114 | @Published var isAuthenticated = false
115 | @Published var authenticationError: Error?
| `- note: mutation of this property is only permitted within the actor
116 | @Published var authenticationView: GameCenterAuthenticationView?
117 |
:
132 |
133 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
134 | self.authenticationError = nil
| `- warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
135 | self.authenticationView = nil
136 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:135:23: warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
114 | @Published var isAuthenticated = false
115 | @Published var authenticationError: Error?
116 | @Published var authenticationView: GameCenterAuthenticationView?
| `- note: mutation of this property is only permitted within the actor
117 |
118 | var isAuthenticatedObservation: NSKeyValueObservation?
:
133 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
134 | self.authenticationError = nil
135 | self.authenticationView = nil
| `- warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
136 |
137 | if self.isAuthenticated {
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:137:26: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
112 | var onAuthenticate: (() -> ())?
113 |
114 | @Published var isAuthenticated = false
| `- note: property declared here
115 | @Published var authenticationError: Error?
116 | @Published var authenticationView: GameCenterAuthenticationView?
:
135 | self.authenticationView = nil
136 |
137 | if self.isAuthenticated {
| `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
138 | self.onAuthenticate?()
139 | self.onAuthenticate = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:138:27: warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
110 |
111 | var didTryAuthenticate = false
112 | var onAuthenticate: (() -> ())?
| `- note: property declared here
113 |
114 | @Published var isAuthenticated = false
:
136 |
137 | if self.isAuthenticated {
138 | self.onAuthenticate?()
| `- warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
139 | self.onAuthenticate = nil
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:139:27: warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
110 |
111 | var didTryAuthenticate = false
112 | var onAuthenticate: (() -> ())?
| `- note: mutation of this property is only permitted within the actor
113 |
114 | @Published var isAuthenticated = false
:
137 | if self.isAuthenticated {
138 | self.onAuthenticate?()
139 | self.onAuthenticate = nil
| `- warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
140 | }
141 | })
[4/5] Emitting module GameCenterUI
[5/5] Compiling GameCenterUI GameCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:112:81: error: 'localPlayerFriendsList' is only available in macOS 12.0 or newer
54 | }
55 |
56 | private class GameCenterController:
| `- note: add '@available' attribute to enclosing class
57 | NSObject,
58 | GKGameCenterControllerDelegate,
:
102 | }
103 |
104 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- note: add '@available' attribute to enclosing instance method
105 | switch launchOption {
106 | case .default: return GKGameCenterViewController(state: .default)
:
110 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
111 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
112 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| |- error: 'localPlayerFriendsList' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
113 | case .leaderBoardID(let id, let playerScope, let timeScope):
114 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
BUILD FAILURE 6.3 macosSpm