<!--
{
  "availability" : [
    "iOS: 4.1.0 -",
    "iPadOS: 4.1.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKMatchmaker/addPlayers(to:matchRequest:completionHandler:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKMatchmaker(im)addPlayersToMatch:matchRequest:completionHandler:"
  },
  "title" : "addPlayers(to:matchRequest:completionHandler:)"
}
-->

# addPlayers(to:matchRequest:completionHandler:)

Invites additional players to an existing match.

```
func addPlayers(to match: GKMatch, matchRequest: GKMatchRequest, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
```

## Parameters

`match`

The match to which GameKit adds the players.

`matchRequest`

The configuration for the match.

`completionHandler`

The block that GameKit calls when it completes the request.

    This block receives the following parameters:

- `error`: Describes an error if it occurs, or `nil` if the operation completes.

## Discussion

Use this method to add more players to an existing match that doesn’t have enough players.

> Important:
> Invoke this method for only one player connected to the match.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)