Build Information
Failed to build GameCenterKit with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fserrazes/GameCenterKit.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/fserrazes/GameCenterKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7fe5640 Merge pull request #4 from fserrazes/hotfix-authentication
Cloned https://github.com/fserrazes/GameCenterKit.git
Revision (git rev-parse @):
7fe5640d2995fe75505c6a8db816f9936652dc16
SUCCESS checkout https://github.com/fserrazes/GameCenterKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/fserrazes/GameCenterKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module GameCenterKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:12:26: error: 'Logger' is only available in macOS 11.0 or newer
private let looger = Logger(subsystem: "com.serrazes.gamecenterkit", category: "GameCenter")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:48: error: cannot find type 'UIViewController' in scope
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:19:47: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> GKGameCenterViewController {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:25:97: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: GKGameCenterViewController, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:31: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct GameCenterView: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:9:23: error: 'Image' is only available in macOS 10.15 or newer
public let photo: Image?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:6:15: note: add @available attribute to enclosing struct
public struct PlayerEntry: Identifiable {
^
[4/6] Compiling GameCenterKit GameCenterView.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:19:47: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> GKGameCenterViewController {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:25:97: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: GKGameCenterViewController, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:31: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct GameCenterView: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:12:31: error: 'init(state:)' is only available in macOS 11.0 or newer
self.viewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:12:31: note: add 'if #available' version check
self.viewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:11:12: note: add @available attribute to enclosing initializer
public init(viewState: GKGameCenterViewControllerState = .default) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:15: note: add @available attribute to enclosing struct
public struct GameCenterView: UIViewControllerRepresentable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:38:41: error: extraneous argument label 'animated:' in call
gameCenterViewController.dismiss(animated: true)
^~~~~~~~~~~
[5/6] Compiling GameCenterKit PlayerEntry.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:9:23: error: 'Image' is only available in macOS 10.15 or newer
public let photo: Image?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:6:15: note: add @available attribute to enclosing struct
public struct PlayerEntry: Identifiable {
^
[6/6] Compiling GameCenterKit GameCenterKit.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:12:26: error: 'Logger' is only available in macOS 11.0 or newer
private let looger = Logger(subsystem: "com.serrazes.gamecenterkit", category: "GameCenter")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:48: error: cannot find type 'UIViewController' in scope
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:30: note: add 'if #available' version check
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:62: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:62: note: add 'if #available' version check
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:41:13: error: 'GKAccessPoint' is only available in macOS 11.0 or newer
GKAccessPoint.shared.isActive = false
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:41:13: note: add 'if #available' version check
GKAccessPoint.shared.isActive = false
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:62:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:62:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:67:67: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
let (localPlayerEntry, _) = try await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:67:67: note: add 'if #available' version check
let (localPlayerEntry, _) = try await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:26: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:57: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:78: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:78: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:90:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:90:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:95:67: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
if let (currentEntry, _) = try? await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:95:67: note: add 'if #available' version check
if let (currentEntry, _) = try? await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:68: error: 'loadPreviousOccurrence()' is only available in macOS 11.0 or newer
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:68: note: add 'if #available' version check
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:94: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:94: note: add 'if #available' version check
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:26: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:57: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:77: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:77: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:125:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:125:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:130:77: error: 'loadEntries(for:timeScope:range:)' is only available in macOS 11.0 or newer
let (_ , entries, totalPlayerCount) = try await leaderboards[0].loadEntries(for: .global, timeScope: .allTime, range: range)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:130:77: note: add 'if #available' version check
let (_ , entries, totalPlayerCount) = try await leaderboards[0].loadEntries(for: .global, timeScope: .allTime, range: range)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:134:53: error: cannot find 'UIImage' in scope
image = Image(uiImage: photo ?? UIImage())
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:134:34: error: incorrect argument label in call (have 'uiImage:', expected 'nsImage:')
image = Image(uiImage: photo ?? UIImage())
^~~~~~~~
nsImage
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:26: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:57: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:85: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:85: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:158:37: error: 'submitScore(_:context:player:leaderboardIDs:)' is only available in macOS 11.0 or newer
try await GKLeaderboard.submitScore(score, context: 0, player: localPlayer, leaderboardIDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:158:37: note: add 'if #available' version check
try await GKLeaderboard.submitScore(score, context: 0, player: localPlayer, leaderboardIDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:26: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:56: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:56: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:78: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:78: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:26: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:56: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:56: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:80: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:80: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:26: note: add 'if #available' version check
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:205:17: note: add @available attribute to enclosing instance method
public func resetAchievements() async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:57: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:57: note: add 'if #available' version check
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:205:17: note: add @available attribute to enclosing instance method
public func resetAchievements() async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:220:13: error: 'GKAccessPoint' is only available in macOS 11.0 or newer
GKAccessPoint.shared.isActive.toggle()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:220:13: note: add 'if #available' version check
GKAccessPoint.shared.isActive.toggle()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:218:17: note: add @available attribute to enclosing instance method
public func toogleGameAccessPointView() {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:217:1: note: add @available attribute to enclosing extension
extension GameCenterKit: GKGameCenterControllerDelegate {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:235:40: error: 'init(state:)' is only available in macOS 11.0 or newer
let gameCenterViewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:235:40: note: add 'if #available' version check
let gameCenterViewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:17: note: add @available attribute to enclosing instance method
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:217:1: note: add @available attribute to enclosing extension
extension GameCenterKit: GKGameCenterControllerDelegate {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:241:41: error: extraneous argument label 'animated:' in call
gameCenterViewController.dismiss(animated: true)
^~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/5] Compiling GameCenterKit PlayerEntry.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:9:23: error: 'Image' is only available in macOS 10.15 or newer
public let photo: Image?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:6:15: note: add @available attribute to enclosing struct
public struct PlayerEntry: Identifiable {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module GameCenterKit
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:12:26: error: 'Logger' is only available in macOS 11.0 or newer
private let looger = Logger(subsystem: "com.serrazes.gamecenterkit", category: "GameCenter")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:48: error: cannot find type 'UIViewController' in scope
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:19:47: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> GKGameCenterViewController {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:25:97: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: GKGameCenterViewController, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:31: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct GameCenterView: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:9:23: error: 'Image' is only available in macOS 10.15 or newer
public let photo: Image?
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/PlayerEntry.swift:6:15: note: add @available attribute to enclosing struct
public struct PlayerEntry: Identifiable {
^
[4/5] Compiling GameCenterKit GameCenterView.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:19:47: error: cannot find type 'Context' in scope
public func makeUIViewController(context: Context) -> GKGameCenterViewController {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:25:97: error: cannot find type 'Context' in scope
public func updateUIViewController(_ uiViewController: GKGameCenterViewController, context: Context) {
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:31: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct GameCenterView: UIViewControllerRepresentable {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:12:31: error: 'init(state:)' is only available in macOS 11.0 or newer
self.viewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:12:31: note: add 'if #available' version check
self.viewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:11:12: note: add @available attribute to enclosing initializer
public init(viewState: GKGameCenterViewControllerState = .default) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:8:15: note: add @available attribute to enclosing struct
public struct GameCenterView: UIViewControllerRepresentable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterView.swift:38:41: error: extraneous argument label 'animated:' in call
gameCenterViewController.dismiss(animated: true)
^~~~~~~~~~~
[5/5] Compiling GameCenterKit GameCenterKit.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:12:26: error: 'Logger' is only available in macOS 11.0 or newer
private let looger = Logger(subsystem: "com.serrazes.gamecenterkit", category: "GameCenter")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:48: error: cannot find type 'UIViewController' in scope
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:30: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:30: note: add 'if #available' version check
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:62: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:36:62: note: add 'if #available' version check
looger.error("Error on user authentication: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:41:13: error: 'GKAccessPoint' is only available in macOS 11.0 or newer
GKAccessPoint.shared.isActive = false
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:41:13: note: add 'if #available' version check
GKAccessPoint.shared.isActive = false
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:31:17: note: add @available attribute to enclosing instance method
public func authenticate(completion: @escaping (Bool) -> Void) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:62:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:62:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:64:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:67:67: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
let (localPlayerEntry, _) = try await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:67:67: note: add 'if #available' version check
let (localPlayerEntry, _) = try await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:26: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:57: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:78: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:70:78: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) score: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:58:17: note: add @available attribute to enclosing instance method
public func retrieveScore(identifier: String) async throws -> Int? {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:90:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:90:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:92:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:95:67: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
if let (currentEntry, _) = try? await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:95:67: note: add 'if #available' version check
if let (currentEntry, _) = try? await leaderboards[0].loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:68: error: 'loadPreviousOccurrence()' is only available in macOS 11.0 or newer
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:68: note: add 'if #available' version check
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:94: error: 'loadEntries(for:timeScope:)' is only available in macOS 11.0 or newer
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:98:94: note: add 'if #available' version check
if let (previousEntry, _) = try? await leaderboards[0].loadPreviousOccurrence()?.loadEntries(for: [localPlayer], timeScope: .allTime) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:26: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:57: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:77: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:102:77: note: add 'if #available' version check
looger.error("Error to retrieve leadeboard \(identifier) rank: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:83:17: note: add @available attribute to enclosing instance method
public func retrieveRank(identifier: String) async throws -> (current: Int?, previous: Int?) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:125:73: error: 'loadLeaderboards(IDs:)' is only available in macOS 11.0 or newer
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:125:73: note: add 'if #available' version check
let leaderboards: [GKLeaderboard] = try await GKLeaderboard.loadLeaderboards(IDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:32: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:32: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:50: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:127:50: note: add 'if #available' version check
looger.warning("Leaderboad with \(identifier) is empty")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:130:77: error: 'loadEntries(for:timeScope:range:)' is only available in macOS 11.0 or newer
let (_ , entries, totalPlayerCount) = try await leaderboards[0].loadEntries(for: .global, timeScope: .allTime, range: range)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:130:77: note: add 'if #available' version check
let (_ , entries, totalPlayerCount) = try await leaderboards[0].loadEntries(for: .global, timeScope: .allTime, range: range)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:134:53: error: cannot find 'UIImage' in scope
image = Image(uiImage: photo ?? UIImage())
^~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:134:34: error: incorrect argument label in call (have 'uiImage:', expected 'nsImage:')
image = Image(uiImage: photo ?? UIImage())
^~~~~~~~
nsImage
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:26: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:57: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:57: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:85: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:142:85: note: add 'if #available' version check
looger.error("Error to retrieve leaderboad \(identifier) best players: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:116:17: note: add @available attribute to enclosing instance method
public func retrieveBestPlayers(identifier: String, topPlayers: Int = 5) async throws -> (player: [PlayerEntry], totalPlayers: Int) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:158:37: error: 'submitScore(_:context:player:leaderboardIDs:)' is only available in macOS 11.0 or newer
try await GKLeaderboard.submitScore(score, context: 0, player: localPlayer, leaderboardIDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:158:37: note: add 'if #available' version check
try await GKLeaderboard.submitScore(score, context: 0, player: localPlayer, leaderboardIDs: [identifier])
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:26: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:56: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:56: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:78: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:160:78: note: add 'if #available' version check
looger.error("Error to submit leaderboard \(identifier) scores: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:154:17: note: add @available attribute to enclosing instance method
public func submitScore(score: Int, identifier: String) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:26: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:56: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:56: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:80: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:196:80: note: add 'if #available' version check
looger.error("Error to submit achievement \(identifier) progress: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:175:17: note: add @available attribute to enclosing instance method
public func submitAchievement(identifier: String, percent: Double, showsCompletionBanner banner: Bool = true) async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:26: note: add 'if #available' version check
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:205:17: note: add @available attribute to enclosing instance method
public func resetAchievements() async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:57: error: 'appendInterpolation(_:privacy:attributes:)' is only available in macOS 11.0 or newer
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:211:57: note: add 'if #available' version check
looger.error("Error to reset achievements: \(error)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:205:17: note: add @available attribute to enclosing instance method
public func resetAchievements() async throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:11:14: note: add @available attribute to enclosing class
public class GameCenterKit: NSObject, GKLocalPlayerListener {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:220:13: error: 'GKAccessPoint' is only available in macOS 11.0 or newer
GKAccessPoint.shared.isActive.toggle()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:220:13: note: add 'if #available' version check
GKAccessPoint.shared.isActive.toggle()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:218:17: note: add @available attribute to enclosing instance method
public func toogleGameAccessPointView() {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:217:1: note: add @available attribute to enclosing extension
extension GameCenterKit: GKGameCenterControllerDelegate {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:235:40: error: 'init(state:)' is only available in macOS 11.0 or newer
let gameCenterViewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:235:40: note: add 'if #available' version check
let gameCenterViewController = GKGameCenterViewController(state: viewState)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:232:17: note: add @available attribute to enclosing instance method
public func showGameCenter(viewController: UIViewController, viewState: GKGameCenterViewControllerState = .default) throws {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:217:1: note: add @available attribute to enclosing extension
extension GameCenterKit: GKGameCenterControllerDelegate {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GameCenterKit/GameCenterKit.swift:241:41: error: extraneous argument label 'animated:' in call
gameCenterViewController.dismiss(animated: true)
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm