[英]APNS aps-environement-Entitlement for Testflight Version / Production build of App
Something strange is happening currently in one of the apps i'm developing. 我正在开发的其中一个应用程序中目前正在发生一些奇怪的事情。
While developing the APNS Pushtoken could be obtained properly. 在开发APNS时,可以正确获取Pushtoken。 As soon as I pushed the app for testflight internal testing it doesn't work anymore.
我将应用程序推送到testflight内部测试后,它就不再起作用。
The well-known error is throwed: 'APNS Push token - No valid aps-environement-entitlement whatever could be found' 引发众所周知的错误:“ APNS推送令牌-找不到任何有效的aps-environment-entitlement”
I usually solved this error through refreshing all the mobile provisioning profiles in XCode, but this doesn't work in that case. 我通常通过刷新XCode中的所有移动供应配置文件来解决此错误,但这在这种情况下不起作用。
The App ID is configured properly for push notifications production and development. 已正确配置应用程序ID以用于推送通知的生产和开发。
Any Ideas? 有任何想法吗? Would really be glad.
真的很高兴。
The problem was that the provisioning profile was created before adding the Push Notifications to the App ID. 问题是在将推送通知添加到App ID之前已创建了配置文件。 Creating a new Provisioning Profile and download it through XCode solved it.
创建一个新的Provisioning Profile并通过XCode下载将其解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.