ITMS-90078 bogosity

So I submitted my app for TestFlight external testing and got this email:

ITMS-90078: Missing potentially required entitlement - Your app, or a library that’s included in your app, uses Apple Push Notification service (APNs) registration APIs, but the APS Environment Entitlement isn’t included in the app signature’s entitlements. If your app uses APNs, make sure the App ID is enabled for push notifications in Certificates, Identifiers & Profiles, sign the app with a distribution provisioning profile that includes the APS Environment Entitlement, and upload a new build to ensure that push notifications function as intended. For details, visit: https://developer.apple.com/documentation/usernotifications/registering-your-app-with-apns.

But here's the thing: everything this says is 100% bogus. My app uses no libraries and no push notification service registration APIs.

The term register is used in my app, because I use table view cell registrations. Could that be the cause of this bogus warning?

The app validator checks for an implementation of the UIApplicationDelegate method application:didRegisterForRemoteNotificationsWithDeviceToken: in the app. You’ll get the warning you described if your app delegate implements that method and there is no aps-environment entitlement.

It's possible that a third-party library you're using has implemented that method even though your app doesn't do anything with push notifications. In that case you can just ignore the warning. It's there to let developers who do use push notifications know that they might have signed their app incorrectly.

The only way to eliminate the warning without configuring your project to use Push Notifications is to remove all push notification code from your app, whether yours or a third party's.

If you are certain that your app is not registering for push notifications, you can ignore this warning.

@Engineer My app delegate does not implement any methods, and I am not using any third-party libraries. There is no push notification code of any kind in my app. The warning is completely mistaken.

In that case, it would be best for our engineering teams to investigate this issue.

We'd greatly appreciate it if you could open a bug report, include crash logs and sample code or models that reproduce the issue, and post the FB number here once you do.

Bug Reporting: How and Why? has tips on creating a successful bug report.

Please make sure to attach a copy of the .ipa file you are submitting to the bug report.

In the meantime, you can still ignore this warning.

Submitted as FB16995686.

ITMS-90078 bogosity
 
 
Q