缺少推送通知权利?
Missing Push Notification Entitlement?
NOTE: I have read other Whosebug questions relating to this topic
but they did not help me. I also do not use any third-party SDKs.
当我将我的应用程序提交到 App Store 时,这是几个小时后我收到的消息:
*我只上传了App并启用了Test-Flight,没有提交App-Review。
We have discovered one or more issues with your recent delivery for "APP NAME". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to include
API used to register with the Apple Push Notification service, but the
app signature's entitlements do not include the "aps-environment"
entitlement. If your app uses the Apple Push Notification service,
make sure your App ID is enabled for Push Notification in the
Provisioning Portal, and resubmit after signing your app with a
Distribution provisioning profile that includes the "aps-environment"
entitlement. See "Provisioning and Development" in the Local and Push
Notification Programming Guide for more information. If your app does
not use the Apple Push Notification service, no action is required.
You may remove the API from future submissions to stop this warning.
If you use a third-party framework, you may need to contact the
developer for information on removing the API.
我没有任何推送通知服务或任何东西,但出现了这个。我没有在我的应用配置文件中设置任何通知服务。我在 XCode 中检查了我的应用程序功能,但没有启用后台模式。该应用程序的早期版本已成功通过。他们没有使用推送通知服务。我已经检查了与此主题相关的其他类似的 Whosebug 问题,但它们对我没有帮助。你知道可以帮助我解决这个问题的解决方案吗?
更新 2:
我通过应用程序重新提交。我收到了同样的邮件。
根据我的研究,这是 Apple 的一个错误。你应该忽略它,因为一切都会正常工作。
参考:
Missing Push Notification Entitlement Warning in email
和
iOS Missing Push notification Entitlement warning
解决办法就是按照上面说的去做:
If your app does not use the Apple Push Notification service, no
action is required.
除非我遗漏了什么,否则看起来很清楚。
我们遇到过同样的问题,每个人(包括客户)都已经对这些电子邮件感到非常恼火。
在我们的例子中,一个古老的依赖项 (FirebaseMessaging) 似乎已在一些 swizzling 代码中注册到 didReceiveRemoteNotification - 即使应用程序本身没有不正确或不匹配的设置,这也会触发这些警告电子邮件。
库消失后一切正常...
NOTE: I have read other Whosebug questions relating to this topic but they did not help me. I also do not use any third-party SDKs.
当我将我的应用程序提交到 App Store 时,这是几个小时后我收到的消息:
*我只上传了App并启用了Test-Flight,没有提交App-Review。
We have discovered one or more issues with your recent delivery for "APP NAME". Your delivery was successful, but you may wish to correct the following issues in your next delivery:
Missing Push Notification Entitlement - Your app appears to include API used to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. See "Provisioning and Development" in the Local and Push Notification Programming Guide for more information. If your app does not use the Apple Push Notification service, no action is required. You may remove the API from future submissions to stop this warning. If you use a third-party framework, you may need to contact the developer for information on removing the API.
我没有任何推送通知服务或任何东西,但出现了这个。我没有在我的应用配置文件中设置任何通知服务。我在 XCode 中检查了我的应用程序功能,但没有启用后台模式。该应用程序的早期版本已成功通过。他们没有使用推送通知服务。我已经检查了与此主题相关的其他类似的 Whosebug 问题,但它们对我没有帮助。你知道可以帮助我解决这个问题的解决方案吗?
更新 2:
我通过应用程序重新提交。我收到了同样的邮件。
根据我的研究,这是 Apple 的一个错误。你应该忽略它,因为一切都会正常工作。 参考:
Missing Push Notification Entitlement Warning in email 和 iOS Missing Push notification Entitlement warning
解决办法就是按照上面说的去做:
If your app does not use the Apple Push Notification service, no action is required.
除非我遗漏了什么,否则看起来很清楚。
我们遇到过同样的问题,每个人(包括客户)都已经对这些电子邮件感到非常恼火。
在我们的例子中,一个古老的依赖项 (FirebaseMessaging) 似乎已在一些 swizzling 代码中注册到 didReceiveRemoteNotification - 即使应用程序本身没有不正确或不匹配的设置,这也会触发这些警告电子邮件。
库消失后一切正常...