[英]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? 该应用已于1小时前发布,有什么建议吗?
edit: 编辑:
The app has been released 1 week ago for the first time and there wasn't the push notification. 该应用程序已于1周前首次发布,但没有推送通知。 It's possible that xcode didn't update my new provisioning profile when signin the app?
登录应用程序时,xcode可能没有更新我的新配置文件?
如果您以前没有发布推送通知证书就发布了该应用程序,然后推送了推送通知证书进行了更新,则必须使用新的推送通知证书创建一个新的配置文件,然后以此来构建/发布您的应用程序。
OK, solved! 好,解决了! Xcode didn't update the certificate download during the archive operation.
Xcode在存档操作期间未更新证书下载。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.