iOS 推送通知:无效的令牌

问题描述:

我已经发布了一个应用程序,并且确信我正在使用分发(临时)推送证书并在服务器端使用推送向导来发送推送通知.我尝试发送推送时收到以下错误:

I have published an app, and am sure that am using distribution(ad hoc) push certificate and using Push Wizard on the server side for sending push notifications. Am getting the following error while I try to send the push :

状态:已发送,但发现无效令牌

Status: Sent, but found invalid token(s)

当我创建临时构建时,这件事奏效了.可能有什么问题?

This thing worked while I created ad hoc builds.What could possibly be wrong?

您的设备 ID (Device Token) 是否正确?

Is your device id (Device Token) is correct?