title: Unable to push notifications via urbanairship to APNS
body: <p>I am using the APNS for my app in development mode. I integrated with the Urban Airship as per the getting started document they provided on their portal:</p>
  
  <p>Created the certificate in Apple provisioning portal. Imported the .p12 file to Urban Airship app(in dev mode with debug enabled)</p>
  
  <p>Now when I open the application, it shows me the alert and asks me for the permission to enable notification. Once that is done and I try to test push a message from the Urban Airship portal to my device using the device token generated, I get the common error:</p>
  
  <p><code>Apple Push service rejected device token "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"</code></p>
  
  <p>I searched on google and found this to be a very common problem; however with no solution. Most answers mention that the prod and dev environment conflict is the cause, however that is not the case in my case as I did not create the prod app in Urban Airship nor in the APNS dev certificate. The settings in my AirshipConfig.plist are:</p>
  
  <pre><code>APP_STORE_OR_AD_HOC_BUILD : NO  
  Development_App_Key: XXXXXXXXXXX   
  Development_App_secret: XXXXXXXXXX  
  </code></pre>
  
  <p>(not master secret, just the dev app secret.)</p>
  
  <p>Nowhere did I find the response from any user who asked the question and later got it resolved. So, I am not sure how people resolved it when they got stuck. All suggests to recheck the environment conflicts, which is not there in my case.</p>
  
  <p>If anyone has any idea, please suggest the possible solutions as this is a blocker for our release. Pls also respond if this is a generic error which almost everyone gets with Urban Airship, and if Free UA account is not a feasible service for testing.</p>