简体   繁体   中英

ios8 push: get token when developer/distribution ok, but now it's not working after the app has been released on the appstore

I made an app that use push notifications:

The push notifications work both with distribution and developer scheme but now when the app is available on the app store, I can't get the device token!

Users get the popup and even answering "yes", I can't get the token.

The app has been released 1 hour ago, any suggestion?

edit:

The app has been released 1 week ago for the first time and there wasn't the push notification. It's possible that xcode didn't update my new provisioning profile when signin the app?

如果您以前没有发布推送通知证书就发布了该应用程序,然后推送了推送通知证书进行了更新,则必须使用新的推送通知证书创建一个新的配置文件,然后以此来构建/发布您的应用程序。

OK, solved! Xcode didn't update the certificate download during the archive operation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM