I'm using Push notification in my app and after development completed i was try to test push notification for release configuration. At that time i got this error.
I was using Production Provisioning Profile to run for release.
So i was able to solve this error by using Adhoc Provisioning Profile.