简体   繁体   English

ios8 push:在开发人员/发行正常的情况下获取令牌,但现在在应用商店中发布应用后,它无法正常工作

[英]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.

相关问题 iOS 9发布后,我可以将仅iOS 8应用提交到Appstore吗? - Can I submit iOS 8 only app to Appstore now that iOS 9 has been released iOS 应用程序在购买订阅后启动时崩溃但仅在发布到 AppStore 时,TestFlight 工作正常 - iOS app crashing on startup after purchasing a subscription but only when released to the AppStore, TestFlight works fine 设备注册推送通知后iOS获取设备令牌? - iOS get Device Token after device has been registered for push notifications? 应用程序获得批准并准备出售后,iOS 应用程序内购买无法正常工作 - iOS in app purchase is not working after app has been approved and it's ready to sale 应用发布到AppStore后,iAd没有出现 - iAd not appear after app released to AppStore 您可以在iOS应用发布之前对其进行更新吗? - Can you make an update to an iOS app before it has been released? iOS视图控制器内存在被解除后未释放 - iOS view controller memory not released after it's been dismissed 应用启动后如何获取iOS推送通知令牌 - How to get iOS push notification token after app launch iOS 应用在 AppStore 上可用后行为发生了变化 - iOS app has changed behaviour after made available on appStore 后台推送适用于iOS7但不适用于iOS8 - Background push working for iOS7 but not for iOS8
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM