Build Information
Failed to build GameCenterUI, reference main (06edd9), with Swift 6.4 for watchOS using Xcode 27.0 on 18 Sep 2026 03:04:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GameCenterUI -destination generic/platform=watchOSBuild Log
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:81: error: 'localPlayerFriendsList' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'localPlayerFriendsList' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
GameKit.GKGameCenterViewControllerState.localPlayerFriendsList:3:8: note: 'localPlayerFriendsList' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerFriendsList}
| `- note: 'localPlayerFriendsList' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:61:1: note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
59 | Use this to display the scores for the specified leaderboardID, player scope and time scope. The time scope is only applicable to classic leaderboards. Recurring leaderboards will always be displayed initially with the results (scores) associated with the current instance of the leaderboard.
60 | */
61 | - (instancetype)initWithLeaderboardID:(NSString *)leaderboardID playerScope:(GKLeaderboardPlayerScope)playerScope timeScope:(GKLeaderboardTimeScope)timeScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
62 |
63 | /**
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'GKGameCenterViewController' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:66:1: note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
64 | Use this to display the scores for the specified leaderboard and player scope. Both classic and recurring leaderboards can use this method to initialize the view with their scores.
65 | */
66 | - (instancetype)initWithLeaderboard:(GKLeaderboard *)leaderboard playerScope:(GKLeaderboardPlayerScope)playerScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
67 |
68 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:112:20: error: 'GKGameCenterViewController' is unavailable in watchOS
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
113 | }
114 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
SwiftEmitModule normal arm64 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
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/GameCenterUI/GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GameCenterUI -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.abi.json
SwiftCompile normal arm64 (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ GameCenterAuthentication.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenterAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
SwiftCompile normal arm64 Compiling\ GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:62:20: error: 'gameCenterDelegate' is unavailable in watchOS
60 | let gamecenter = createGameCenter(launchOption: launchOption)
61 | self.gamecenter = gamecenter
62 | gamecenter.gameCenterDelegate = self
| `- error: 'gameCenterDelegate' is unavailable in watchOS
63 | GameCenterController.shared.onDidFinish = onDidFinish
64 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:51:85: note: 'gameCenterDelegate' has been explicitly marked unavailable here
49 | @interface GKGameCenterViewController ()
50 |
51 | @property (weak, nullable, NS_NONATOMIC_IOSONLY) id<GKGameCenterControllerDelegate> gameCenterDelegate;
| `- note: 'gameCenterDelegate' has been explicitly marked unavailable here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'GKGameCenterViewController' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'init(state:)' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:66: error: 'default' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'default' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
GameKit.GKGameCenterViewControllerState.default:3:8: note: 'default' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case `default`}
| `- note: 'default' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'init(state:)' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:71: error: 'leaderboards' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'leaderboards' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
GameKit.GKGameCenterViewControllerState.leaderboards:3:8: note: 'leaderboards' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case leaderboards}
| `- note: 'leaderboards' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'GKGameCenterViewController' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'init(state:)' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:71: error: 'achievements' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'achievements' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
GameKit.GKGameCenterViewControllerState.achievements:3:8: note: 'achievements' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case achievements}
| `- note: 'achievements' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:69: error: 'challenges' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'challenges' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
GameKit.GKGameCenterViewControllerState.challenges:3:8: note: 'challenges' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case challenges}
| `- note: 'challenges' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'init(state:)' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:77: error: 'localPlayerProfile' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'localPlayerProfile' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
GameKit.GKGameCenterViewControllerState.localPlayerProfile:3:8: note: 'localPlayerProfile' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerProfile}
| `- note: 'localPlayerProfile' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'init(state:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:68: error: 'dashboard' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'dashboard' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
GameKit.GKGameCenterViewControllerState.dashboard:3:8: note: 'dashboard' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case dashboard}
| `- note: 'dashboard' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'init(state:)' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:81: error: 'localPlayerFriendsList' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'localPlayerFriendsList' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
GameKit.GKGameCenterViewControllerState.localPlayerFriendsList:3:8: note: 'localPlayerFriendsList' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerFriendsList}
| `- note: 'localPlayerFriendsList' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:61:1: note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
59 | Use this to display the scores for the specified leaderboardID, player scope and time scope. The time scope is only applicable to classic leaderboards. Recurring leaderboards will always be displayed initially with the results (scores) associated with the current instance of the leaderboard.
60 | */
61 | - (instancetype)initWithLeaderboardID:(NSString *)leaderboardID playerScope:(GKLeaderboardPlayerScope)playerScope timeScope:(GKLeaderboardTimeScope)timeScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
62 |
63 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'GKGameCenterViewController' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:66:1: note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
64 | Use this to display the scores for the specified leaderboard and player scope. Both classic and recurring leaderboards can use this method to initialize the view with their scores.
65 | */
66 | - (instancetype)initWithLeaderboard:(GKLeaderboard *)leaderboard playerScope:(GKLeaderboardPlayerScope)playerScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
67 |
68 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:112:20: error: 'GKGameCenterViewController' is unavailable in watchOS
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
113 | }
114 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenter.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-17 23:03:55.621 xcodebuild[625:3963] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftEmitModule normal arm64 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftCompile normal arm64 (in target 'GameCenterUI' from project 'GameCenterUI')
Building workspace GameCenterUI with scheme GameCenterUI
(5 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
GameCenterUI: /Users/admin/builder/spi-builder-workspace
resolved source packages: GameCenterUI
2026-09-17 23:04:02.450 xcodebuild[793:4693] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "GameCenterUI",
"name" : "GameCenterUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "GameCenterUI",
"targets" : [
"GameCenterUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GameCenterUITests",
"module_type" : "SwiftTarget",
"name" : "GameCenterUITests",
"path" : "Tests/GameCenterUITests",
"sources" : [
"GameCenterTests.swift"
],
"target_dependencies" : [
"GameCenterUI"
],
"type" : "test"
},
{
"c99name" : "GameCenterUI",
"module_type" : "SwiftTarget",
"name" : "GameCenterUI",
"path" : "Sources/GameCenterUI",
"product_memberships" : [
"GameCenterUI"
],
"sources" : [
"GameCenter.swift",
"GameCenterAuthentication.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "GameCenterUI",
"schemes" : [
"GameCenterUI"
]
}
}
2026-09-17 23:04:03.684 xcodebuild[801:4765] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme GameCenterUI -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme GameCenterUI -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
GameCenterUI: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'GameCenterUI-product' in project 'GameCenterUI'
➜ Explicit dependency on target 'GameCenterUI' in project 'GameCenterUI'
Target 'GameCenterUI' in project 'GameCenterUI' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver GameCenterUI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name GameCenterUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver GameCenterUI normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name GameCenterUI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
Failed frontend command:
SwiftCompile normal arm64 (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/GameCenterUI/GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift -target arm64-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-dependencies-2.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GameCenterUI -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64/GameCenterUI.abi.json
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/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/GameCenterUI/GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -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/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name GameCenterUI -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GameCenterUI.build/Debug-watchos/GameCenterUI-t.build/Objects-normal/arm64_32/GameCenterUI.abi.json
SwiftCompile normal arm64 Compiling\ GameCenterAuthentication.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenterAuthentication.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
SwiftCompile normal arm64_32 Compiling\ GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:62:20: error: 'gameCenterDelegate' is unavailable in watchOS
60 | let gamecenter = createGameCenter(launchOption: launchOption)
61 | self.gamecenter = gamecenter
62 | gamecenter.gameCenterDelegate = self
| `- error: 'gameCenterDelegate' is unavailable in watchOS
63 | GameCenterController.shared.onDidFinish = onDidFinish
64 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:51:85: note: 'gameCenterDelegate' has been explicitly marked unavailable here
49 | @interface GKGameCenterViewController ()
50 |
51 | @property (weak, nullable, NS_NONATOMIC_IOSONLY) id<GKGameCenterControllerDelegate> gameCenterDelegate;
| `- note: 'gameCenterDelegate' has been explicitly marked unavailable here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'GKGameCenterViewController' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'init(state:)' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:66: error: 'default' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'default' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
GameKit.GKGameCenterViewControllerState.default:3:8: note: 'default' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case `default`}
| `- note: 'default' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'init(state:)' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:71: error: 'leaderboards' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'leaderboards' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
GameKit.GKGameCenterViewControllerState.leaderboards:3:8: note: 'leaderboards' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case leaderboards}
| `- note: 'leaderboards' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'GKGameCenterViewController' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'init(state:)' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:71: error: 'achievements' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'achievements' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
GameKit.GKGameCenterViewControllerState.achievements:3:8: note: 'achievements' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case achievements}
| `- note: 'achievements' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:69: error: 'challenges' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'challenges' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
GameKit.GKGameCenterViewControllerState.challenges:3:8: note: 'challenges' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case challenges}
| `- note: 'challenges' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'init(state:)' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:77: error: 'localPlayerProfile' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'localPlayerProfile' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
GameKit.GKGameCenterViewControllerState.localPlayerProfile:3:8: note: 'localPlayerProfile' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerProfile}
| `- note: 'localPlayerProfile' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'init(state:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:68: error: 'dashboard' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'dashboard' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
GameKit.GKGameCenterViewControllerState.dashboard:3:8: note: 'dashboard' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case dashboard}
| `- note: 'dashboard' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'init(state:)' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:81: error: 'localPlayerFriendsList' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'localPlayerFriendsList' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
GameKit.GKGameCenterViewControllerState.localPlayerFriendsList:3:8: note: 'localPlayerFriendsList' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerFriendsList}
| `- note: 'localPlayerFriendsList' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:61:1: note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
59 | Use this to display the scores for the specified leaderboardID, player scope and time scope. The time scope is only applicable to classic leaderboards. Recurring leaderboards will always be displayed initially with the results (scores) associated with the current instance of the leaderboard.
60 | */
61 | - (instancetype)initWithLeaderboardID:(NSString *)leaderboardID playerScope:(GKLeaderboardPlayerScope)playerScope timeScope:(GKLeaderboardTimeScope)timeScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
62 |
63 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'GKGameCenterViewController' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:66:1: note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
64 | Use this to display the scores for the specified leaderboard and player scope. Both classic and recurring leaderboards can use this method to initialize the view with their scores.
65 | */
66 | - (instancetype)initWithLeaderboard:(GKLeaderboard *)leaderboard playerScope:(GKLeaderboardPlayerScope)playerScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
67 |
68 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:112:20: error: 'GKGameCenterViewController' is unavailable in watchOS
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
113 | }
114 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenter.swift
SwiftCompile normal arm64_32 Compiling\ GameCenterAuthentication.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:87:25: error: cannot find type 'ViewController' in scope
85 | typealias Coordinator = Void
86 |
87 | let viewController: ViewController
| `- error: cannot find type 'ViewController' in scope
88 |
89 | func makeCoordinator() -> Coordinator { Void() }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:83:46: error: cannot find type 'ViewControllerRepresentable' in scope
81 | }
82 |
83 | private struct GameCenterAuthenticationView: ViewControllerRepresentable {
| `- error: cannot find type 'ViewControllerRepresentable' in scope
84 |
85 | typealias Coordinator = Void
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenterAuthentication.swift
SwiftCompile normal arm64 Compiling\ GameCenter.swift /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:57:21: error: 'GKGameCenterViewController' is unavailable in watchOS
55 | static let shared = GameCenterController()
56 | var onDidFinish: (() -> ())?
57 | var gamecenter: GKGameCenterViewController?
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
58 |
59 | func present(launchOption: GameCenterLaunchOption) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:79:37: error: 'GKGameCenterViewController' is unavailable in watchOS
77 |
78 | func gameCenterViewControllerDidFinish(
79 | _ gameCenterViewController: GKGameCenterViewController
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
80 | ) {
81 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:98:68: error: 'GKGameCenterViewController' is unavailable in watchOS
96 | }
97 |
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:52:5: error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
50 | private class GameCenterController:
51 | NSObject,
52 | GKGameCenterControllerDelegate,
| `- error: 'GKGameCenterControllerDelegate' is unavailable in watchOS
53 | ObservableObject
54 | {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:94:11: note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
92 | @end
93 |
94 | @protocol GKGameCenterControllerDelegate <NSObject>
| `- note: 'GKGameCenterControllerDelegate' has been explicitly marked unavailable here
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:78:10: error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
76 | }
77 |
78 | func gameCenterViewControllerDidFinish(
| `- error: cannot override 'gameCenterViewControllerDidFinish' which has been marked unavailable
79 | _ gameCenterViewController: GKGameCenterViewController
80 | ) {
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:96:1: note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
94 | @protocol GKGameCenterControllerDelegate <NSObject>
95 |
96 | - (void)gameCenterViewControllerDidFinish:(GKGameCenterViewController *)gameCenterViewController API_AVAILABLE(ios(6.0), macos(10.9), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
| `- note: 'gameCenterViewControllerDidFinish' has been explicitly marked unavailable here
97 |
98 | @end
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:62:20: error: 'gameCenterDelegate' is unavailable in watchOS
60 | let gamecenter = createGameCenter(launchOption: launchOption)
61 | self.gamecenter = gamecenter
62 | gamecenter.gameCenterDelegate = self
| `- error: 'gameCenterDelegate' is unavailable in watchOS
63 | GameCenterController.shared.onDidFinish = onDidFinish
64 | #if os(iOS)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:51:85: note: 'gameCenterDelegate' has been explicitly marked unavailable here
49 | @interface GKGameCenterViewController ()
50 |
51 | @property (weak, nullable, NS_NONATOMIC_IOSONLY) id<GKGameCenterControllerDelegate> gameCenterDelegate;
| `- note: 'gameCenterDelegate' has been explicitly marked unavailable here
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'GKGameCenterViewController' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:31: error: 'init(state:)' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:100:66: error: 'default' is unavailable in watchOS
98 | func createGameCenter(launchOption: GameCenterLaunchOption) -> GKGameCenterViewController {
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
| `- error: 'default' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
GameKit.GKGameCenterViewControllerState.default:3:8: note: 'default' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case `default`}
| `- note: 'default' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'GKGameCenterViewController' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:36: error: 'init(state:)' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:101:71: error: 'leaderboards' is unavailable in watchOS
99 | switch launchOption {
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
| `- error: 'leaderboards' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
GameKit.GKGameCenterViewControllerState.leaderboards:3:8: note: 'leaderboards' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case leaderboards}
| `- note: 'leaderboards' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'GKGameCenterViewController' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:36: error: 'init(state:)' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:102:71: error: 'achievements' is unavailable in watchOS
100 | case .default: return GKGameCenterViewController(state: .default)
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
| `- error: 'achievements' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
GameKit.GKGameCenterViewControllerState.achievements:3:8: note: 'achievements' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case achievements}
| `- note: 'achievements' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'GKGameCenterViewController' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:34: error: 'init(state:)' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:103:69: error: 'challenges' is unavailable in watchOS
101 | case .leaderboards: return GKGameCenterViewController(state: .leaderboards)
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
| `- error: 'challenges' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
GameKit.GKGameCenterViewControllerState.challenges:3:8: note: 'challenges' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case challenges}
| `- note: 'challenges' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'GKGameCenterViewController' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:42: error: 'init(state:)' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'init(state:)' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:104:77: error: 'localPlayerProfile' is unavailable in watchOS
102 | case .achievements: return GKGameCenterViewController(state: .achievements)
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
| `- error: 'localPlayerProfile' is unavailable in watchOS
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
GameKit.GKGameCenterViewControllerState.localPlayerProfile:3:8: note: 'localPlayerProfile' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerProfile}
| `- note: 'localPlayerProfile' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'GKGameCenterViewController' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:33: error: 'init(state:)' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'init(state:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:105:68: error: 'dashboard' is unavailable in watchOS
103 | case .challenges: return GKGameCenterViewController(state: .challenges)
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
| `- error: 'dashboard' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
GameKit.GKGameCenterViewControllerState.dashboard:3:8: note: 'dashboard' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case dashboard}
| `- note: 'dashboard' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'GKGameCenterViewController' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:46: error: 'init(state:)' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'init(state:)' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:56:1: note: 'init(state:)' has been explicitly marked unavailable here
54 | Use this to display content associated with the specified state. For example setting the state to GKGameCenterViewControllerStateLeaderboards will display a list of leaderboard sets or leaderboards (if no sets). Setting state to GKGameCenterViewControllerStateAchievements will display a list of achievements.
55 | */
56 | - (instancetype)initWithState:(GKGameCenterViewControllerState)state API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(state:)' has been explicitly marked unavailable here
57 |
58 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:106:81: error: 'localPlayerFriendsList' is unavailable in watchOS
104 | case .localPlayerProfile: return GKGameCenterViewController(state: .localPlayerProfile)
105 | case .dashboard: return GKGameCenterViewController(state: .dashboard)
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
| `- error: 'localPlayerFriendsList' is unavailable in watchOS
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
GameKit.GKGameCenterViewControllerState.localPlayerFriendsList:3:8: note: 'localPlayerFriendsList' has been explicitly marked unavailable here
1 | enum GKGameCenterViewControllerState {
2 | @available(watchOS, unavailable)
3 | case localPlayerFriendsList}
| `- note: 'localPlayerFriendsList' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'GKGameCenterViewController' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:108:20: error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
106 | case .localPlayerFriendsList: return GKGameCenterViewController(state: .localPlayerFriendsList)
107 | case .leaderBoardID(let id, let playerScope, let timeScope):
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
| `- error: 'init(leaderboardID:playerScope:timeScope:)' is unavailable in watchOS
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:61:1: note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
59 | Use this to display the scores for the specified leaderboardID, player scope and time scope. The time scope is only applicable to classic leaderboards. Recurring leaderboards will always be displayed initially with the results (scores) associated with the current instance of the leaderboard.
60 | */
61 | - (instancetype)initWithLeaderboardID:(NSString *)leaderboardID playerScope:(GKLeaderboardPlayerScope)playerScope timeScope:(GKLeaderboardTimeScope)timeScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboardID:playerScope:timeScope:)' has been explicitly marked unavailable here
62 |
63 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'GKGameCenterViewController' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:110:20: error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
108 | return GKGameCenterViewController(leaderboardID: id, playerScope: playerScope, timeScope: timeScope)
109 | case .leaderBoard(let leaderboard, let playerScope):
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
| `- error: 'init(leaderboard:playerScope:)' is unavailable in watchOS
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:66:1: note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
64 | Use this to display the scores for the specified leaderboard and player scope. Both classic and recurring leaderboards can use this method to initialize the view with their scores.
65 | */
66 | - (instancetype)initWithLeaderboard:(GKLeaderboard *)leaderboard playerScope:(GKLeaderboardPlayerScope)playerScope API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0));
| `- note: 'init(leaderboard:playerScope:)' has been explicitly marked unavailable here
67 |
68 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift:112:20: error: 'GKGameCenterViewController' is unavailable in watchOS
110 | return GKGameCenterViewController(leaderboard: leaderboard, playerScope: playerScope)
111 | case .achievementID(let id):
112 | return GKGameCenterViewController(achievementID: id)
| `- error: 'GKGameCenterViewController' is unavailable in watchOS
113 | }
114 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKGameCenterViewController.h:35:12: note: 'GKGameCenterViewController' has been explicitly marked unavailable here
33 | /// View controller that provides the standard user interface for leaderboards, achievements, and challenges. Present modally from the top view controller.
34 | API_DEPRECATED_WITH_REPLACEMENT("Replaced by ``GKAccessPoint``", ios(6.0,26.0), macos(10.9,26.0), tvos(9.0,26.0), visionos(1.0,26.0))
35 | @interface GKGameCenterViewController
| `- note: 'GKGameCenterViewController' has been explicitly marked unavailable here
36 | @end
37 | #elif TARGET_OS_IPHONE
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenter.swift (in target 'GameCenterUI' from project 'GameCenterUI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GameCenter.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-17 23:04:04.643 xcodebuild[802:4799] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftEmitModule normal arm64 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftCompile normal arm64_32 (in target 'GameCenterUI' from project 'GameCenterUI')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ GameCenterUI (in target 'GameCenterUI' from project 'GameCenterUI')
Building workspace GameCenterUI with scheme GameCenterUI
(5 failures)
BUILD FAILURE 6.4 watchOS