Build Information
Failed to build GameCenterUI, reference main (06edd9), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 18:35:42 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/berikv/GameCenterUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 06edd9a Update readme
Cloned https://github.com/berikv/GameCenterUI.git
Revision (git rev-parse @):
06edd9a6e9a7a0d0000ee23deedf72b677c6bb1c
SUCCESS checkout https://github.com/berikv/GameCenterUI.git at main
========================================
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 (0.99s)
Creating working copy for https://github.com/berikv/GameCenterUI.git
Working copy of https://github.com/berikv/GameCenterUI.git resolved at main (06edd9a)
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] Emitting module GameCenterUI
[4/5] Compiling GameCenterUI GameCenterAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:124:29: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
106 | var onAuthenticate: (() -> ())?
107 |
108 | @Published var isAuthenticated = false
| `- note: property declared here
109 | @Published var authenticationError: Error?
110 | @Published var authenticationView: GameCenterAuthenticationView?
:
122 |
123 | // Skip when setting the same value again
124 | guard self.isAuthenticated != GKLocalPlayer.local.isAuthenticated
| `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
125 | else { return }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:127:23: warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
106 | var onAuthenticate: (() -> ())?
107 |
108 | @Published var isAuthenticated = false
| `- note: mutation of this property is only permitted within the actor
109 | @Published var authenticationError: Error?
110 | @Published var authenticationView: GameCenterAuthenticationView?
:
125 | else { return }
126 |
127 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
| `- warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
128 | self.authenticationError = nil
129 | self.authenticationView = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:128:23: warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
107 |
108 | @Published var isAuthenticated = false
109 | @Published var authenticationError: Error?
| `- note: mutation of this property is only permitted within the actor
110 | @Published var authenticationView: GameCenterAuthenticationView?
111 |
:
126 |
127 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
128 | self.authenticationError = nil
| `- warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
129 | self.authenticationView = nil
130 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:129:23: warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
108 | @Published var isAuthenticated = false
109 | @Published var authenticationError: Error?
110 | @Published var authenticationView: GameCenterAuthenticationView?
| `- note: mutation of this property is only permitted within the actor
111 |
112 | var isAuthenticatedObservation: NSKeyValueObservation?
:
127 | self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
128 | self.authenticationError = nil
129 | self.authenticationView = nil
| `- warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
130 |
131 | if self.isAuthenticated {
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:131:26: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
106 | var onAuthenticate: (() -> ())?
107 |
108 | @Published var isAuthenticated = false
| `- note: property declared here
109 | @Published var authenticationError: Error?
110 | @Published var authenticationView: GameCenterAuthenticationView?
:
129 | self.authenticationView = nil
130 |
131 | if self.isAuthenticated {
| `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
132 | self.onAuthenticate?()
133 | self.onAuthenticate = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:132:27: warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
104 |
105 | var didTryAuthenticate = false
106 | var onAuthenticate: (() -> ())?
| `- note: property declared here
107 |
108 | @Published var isAuthenticated = false
:
130 |
131 | if self.isAuthenticated {
132 | self.onAuthenticate?()
| `- warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
133 | self.onAuthenticate = nil
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:133:27: warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
104 |
105 | var didTryAuthenticate = false
106 | var onAuthenticate: (() -> ())?
| `- note: mutation of this property is only permitted within the actor
107 |
108 | @Published var isAuthenticated = false
:
131 | if self.isAuthenticated {
132 | self.onAuthenticate?()
133 | self.onAuthenticate = nil
| `- warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
134 | }
135 | })
[5/5] Compiling GameCenterUI GameCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:81: error: 'localPlayerFriendsList' is only available in macOS 12.0 or newer
48 | }
49 |
50 | private class GameCenterController:
| `- note: add '@available' attribute to enclosing class
51 | NSObject,
52 | GKGameCenterControllerDelegate,
:
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- note: add '@available' attribute to enclosing instance method
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
:
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| |- error: 'localPlayerFriendsList' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
BUILD FAILURE 6.3 macosSpm