Titanium Tips

Fix: Invalid Binary (Push Notifications Issue)

Fix for Push Notifications Issue - Invalid Binary
If you’ve tried to submit an app to the App Store recently (using any version of Titanium Mobile prior to 1.6.2), you may have unfortunately had your app rejected for the following reason...

Missing Push Notification Entitlement
Your app registers with the Apple Push Notifications Service, but the application signature’s entitlements do not include the required “aps-environment” entitlement. Make sure you have enabled Push Notification Services for this app, and that you have downloaded a Distribution provisioning profile that includes the “aps-environment” entitlement.

What does this mean? Why is this a problem? How do you fix it?