The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GameCenterKit, reference main (cd3ffa), with Swift 6.4 for macOS (SPM) on 22 Sep 2026 22:08:21 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/fserrazes/GameCenterKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fserrazes/GameCenterKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd3ffab fix: Fatal error (TASK CONTINUATION MISUSE Authenticate() tried to resume its continuation more than once, returning true! This happen when the system presents a sign-in UI, dismisses it, or changes authentication state and completion gets called called every time that happens.
Cloned https://github.com/fserrazes/GameCenterKit.git
Revision (git rev-parse @):
cd3ffab0cc67c610584fdb80628841c06f323c0b
SUCCESS checkout https://github.com/fserrazes/GameCenterKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fserrazes/GameCenterKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] GameCenterKit
[30 / 110]
[33 / 110]
[41 / 110]
[43 / 110]
[44 / 110]
[49 / 110]
[52 / 110]
[55 / 110]
[61 / 110]
[64 / 110]
[66 / 110]
[67 / 110]
[79 / 110]
[81 / 110]
[82 / 110]
[85 / 110]
[87 / 110]
[92 / 110]
[94 / 110]
[95 / 110]
[96 / 110]
[101 / 110] GameCenterKit
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GKPlayer+Extensions.swift:7:59: error: cannot find type 'UIImage' in scope
 5 |
 6 | extension GKPlayer {
 7 |     func loadPhoto(for size: GKPlayer.PhotoSize) async -> UIImage? {
   |                                                           `- error: cannot find type 'UIImage' in scope
 8 |         await withCheckedContinuation { continuation in
 9 |             self.loadPhoto(for: size) { photo, _ in
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:269:48: error: cannot find type 'UIViewController' in scope
267 |     ///   - viewController: The view controller to present GameKit's view controller from.
268 |     ///   - viewState: The state in which to present the new view controller
269 |     public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
    |                                                `- error: cannot find type 'UIViewController' in scope
270 |         guard isAuthenticated else { throw GameCenterError.notAuthenticated }
271 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:19:47: error: cannot find type 'Context' in scope
17 |     }
18 |
19 |     public func makeUIViewController(context: Context) -> GKGameCenterViewController {
   |                                               `- error: cannot find type 'Context' in scope
20 |         let gameCenterViewController = viewController
21 |         gameCenterViewController.gameCenterDelegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:25:97: error: cannot find type 'Context' in scope
23 |     }
24 |
25 |     public func updateUIViewController(_ uiViewController: GKGameCenterViewController, context: Context) {
   |                                                                                                 `- error: cannot find type 'Context' in scope
26 |         return
27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:31: error: cannot find type 'UIViewControllerRepresentable' in scope
 6 |
 7 | /// Presents the game center view provided by GameKit.
 8 | public struct GameCenterView: UIViewControllerRepresentable {
   |                               `- error: cannot find type 'UIViewControllerRepresentable' in scope
 9 |     let viewController: GKGameCenterViewController
10 |
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/Sources/GameCenterKit/GKPlayer+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift -target arm64-apple-macos12.0 -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/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit-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_UNAVAILABLE -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/GameCenterKit.build/Debug/GameCenterKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GameCenterKit -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit_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/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/GameCenterKit.build/Debug/GameCenterKit-t.build/Objects-normal/arm64/GameCenterKit.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm