title: Google Cloud Messaging shows "notRegistered" when using iOS distributed app
body: <p>I have implemented a GCM service on an iOS app. I use PHP to send GCM at the server. It works perfectly when the app is signed by a development provisioning profile. </p>
  
  <p>That is, when the app registers itself using the GCM Config, it always returns a functioning device token. I can send a notification to the device using the token without any error.</p>
  
  <p>But after I sign the app by distributed provisioning profile and test the app by TestFlight or Ad Hoc Provisioning, I received a "Not Registered" error.</p>
  
  <blockquote>
    <p>{"multicast_id":8921098464640731057,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"NotRegistered"}]}"</p>
  </blockquote>
  
  <p>How does it happen? Any Solution? 
  I have checked that I enabled APNS in both development and distribution provisioning profile.</p>
  
  <p>I did not enable TLS on my server. Actually my SSL Cert is not ready so I can't test it. Is this the reason?</p>