Search Issue Tracker

Fixed in Unity 2019.1



Found in


Issue ID




[iOS] Unity adds Game Center and Push Notifications Capabilities to Xcode project if you have code using those features




Priority: 2Necessary for shipping a final release


Severity: 2Core functionality majorly impacted

Unity automatically adds Game Center and Push notifications Capabilities to Xcode project, if you have code using those features e.g.

NotificationServices.RegisterForNotifications(NotificationType.Alert, true);

Xcode capabilities then make Xcode require those entitlements in the provisioning profile and then it's not possible to use wildcard provisioning profiles e.g. for Enterprise distribution

To reproduce:

1. Download attached project "New Unity Project (11)" and open in Unity
2. Open "SampleScene" scene
3. Build for iOS
4. Open the Xcode project
5. Select "Unity-iPhone" from the project navigator in Xcode
6. Select "Capabilities" see Game Center and Push Notifications enabled

Expected results: Observe that Game Center and Push Notifications are disabled
Actual results: Observe that Game Center and Push Notifications are enabled

- On Unity 2018.2.0a1 it started to add Push Notifications
- On Unity 2018.3.0a8 it started to add Game Center

Not reproduced on Unity 2017.4.14f1 and 2018.1.9f2, 2018.2.15f1, 2018.3.0b9 and 2019.1.0a8
Reproduced on Unity 2018.2.0a1, 2018.2.17f1, 2018.3.0b11 and 2019.1.0a9
Regression on 2018.2.0a1 and 2018.3.0a8

Response avatar

Resolution Note:

We added a new setting in Player Settings under Other Settings tab where you can check or uncheck "Automatically add capabilities" setting

Comments (1)

  1. 3b7eae802ae27cb3548f7d48f619c472?d=mm


    Jan 24, 2019 19:57

    Can this please be back-ported to Unity 2018.3 and 2018 LTS. I'm stuck on 2018.1 because of this and won't be able to upgrade to 2018 LTS if it's not fixed.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.