[AC-4482] Empty Entitlements when building for dist-adhoc or dist-appstore
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2016-09-20T17:09:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Flavio De Stefano |
Assignee | Shak Hossain |
Created | 2016-09-20T15:04:21.000+0000 |
Updated | 2016-09-20T17:09:05.000+0000 |
Description
CRITICAL bug: when building for App store or Adhoc, an empty Entitlements file is created.
This behaviour cause the automatic rejection from Apple when you're using push notifications or other features that need a valid entry in that file:
Missing Push Notification Entitlement - Your app includes an API for Apple's Push Notification service, but the aps-environment entitlement is missing from the app's signature. To resolve this, make sure your App ID is enabled for push notification in the Provisioning Portal. Then, sign your app with a distribution provisioning profile that includes the aps-environment entitlement. This will create the correct signature, and you can resubmit your app. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
Hey there! This is a breaking change from Apple. We changed our docs to guide our developers through the (quick) migration. See TIMOB-23908 for details. Thanks!