TheGameCreators / AGK-Studio

3 stars 1 forks source link

Missing Push Notification Entitlement Warning when uploading IPA to AppStoreConnect #988

Open KevinCrossDCL opened 2 years ago

KevinCrossDCL commented 2 years ago

Hi

I uploaded a project to AppStoreConnect this morning via Transporter and I was emailed the following warning message from Apples automated systems.

"TMS-90078: Missing Push Notification Entitlement - Your app appears 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. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1."

My app doesn't use any push notifications, and at the moment there's no need to add them. This must mean that the template files that are used when creating the IPA file has some code in them that's registering with the Apple Push Notification service. Can this be turned off by default, and have a check box on the export window like the Android export window has? It will be a while before I release the app, but I imagine this is going to cause me problems when it's properly reviewed by Apple reviewers.

orvillian commented 2 years ago

@KevinCrossDCL I agree this should be changed.

I don't believe it will affect your submissions in any way. I have submitted several apps recently that don't use push notifications, ended up getting the same email as you and not encountered any problems with the review process.