Steps to reproduce:
- Open the attached project
- Switch to iOS
- Make sure 'Automatically add capabilities' is enabled in Player Settings
- Build to iOS
- Open Xcode project and navigate to 'Signing & Capabilities' tab
Expected behaviour: 'Game Center' capability should be added and entitlements file with Game Center entry should be created.
Actual behaviour: 'Game Center' capability is missing, no entitlements file created.
Related Forum post
https://forum.unity.com/threads/game-center-capabilities-not-added-to-xcode.1431139/
Related docs
https://developer.apple.com/help/account/reference/capability-entitlement-updates
Starting with Xcode 14, when you enable Game Center for iOS, iPadOS, and tvOS apps, the Game Center entitlement is automatically added to your provisioning profile and entitlements plist file, so it can be signed into your app. If you’ve enabled Game Center in a previous version of Xcode, your app may not include the Game Center entitlement. Please note new app and app update submissions to the App Store with the Game Center capability enabled will soon require the Game Center entitlement.