How to fix your iOS Production app if it was submitted to Apple with inProduction flag set to NO

If you submit your app to Apple for review with the inProduction flag in your airshipConfig file set to NO,  new users will be registered to the development Urban Airship app when they should be registered to the production Urban Airship app.



  1. Change the inProduction setting in your airshipConfig file to YES.
  2. Using a test device, install an ad-hoc build of the app with an ad-hoc provisioning profile. 
  3. Make sure the device is registering on the Urban Airship production app.
  4. Send a test push to that device to make sure you are able to receive notifications.
  5. Once it has been confirmed to be working, send out an update to the Apple App Store. Please note that the speed of app store submissions is controlled by Apple and can vary from hours to weeks. Updates to existing apps are generally processed faster than new app submissions.
  6. After users start updating, navigate to the development app's Audience > Device tokens page. Scroll down to clear all the device tokens. This prevents further problems down the road.


Related Content:

Was this article helpful?
0 out of 0 found this helpful
Submit a request