Bug 22951 - No valid aps-environment entitlement string found for application when building with push notifications in provisioning profile
Summary: No valid aps-environment entitlement string found for application when buildi...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.5
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-09-12 14:43 UTC by John Miller [MSFT]
Modified: 2016-12-22 20:58 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description John Miller [MSFT] 2014-09-12 14:43:41 UTC

   When deploying the app to a device, the error message "No valid aps-environment entitlement string found for application" appears.

**Steps to Reproduce:**

   1. Build and deploy an app that registers for push notifications. (need to have it in the provisioning profile). 

**Actual Results:**

   An error is displayed. 

**Expected Results:**

   No error. 

**Build Date & Platform:**

   XVS 3.5.58

**Additional Information:**

   There is a forum discussion about this here: http://forums.xamarin.com/discussion/22502/xamarin-studio-5-3-push-notification-error/p1

   There was a hotfix for XS to address this, which was thought to resolve the issue in VS too. That is not the case, it is still and issue with VS only. 

   I am trying to build a sample to repro this - standby.
Comment 5 Jose Gallardo 2016-12-22 20:58:40 UTC
As we've introduced several improvements around VS/Mac connectivity and the iOS build system as well as mentioned in Comment 4, I'll mark the bug as resolved fixed.
Please feel free to reopen it if you can still reproduce the issue with current bits.