title: “no valid 'aps-environment' entitlement string” when registering for Push Notifications
body: <p>i used the code below to register for push notification inside <code>applicationdidFinishLaunchingWithOptions</code> but nothing happens why ?</p>
  
  <p>The code :</p>
  
  <pre><code>    [[UIApplication sharedApplication] registerForRemoteNotificationTypes:
   (UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
  </code></pre>
  
  <p>and my Push Notification setting is on.</p>