Last modified January 22, 2019 by Shelly Wolfe

How do I disable Apple Push Notification Service?

As of Swrve iOS SDK version 4.4, it is possible to exclude push notification code from your app.

To exclude the code from your app, add a SWRVE_NO_PUSH Preprocessor Macro to App Target > Build Settings > Preprocessing > Preprocessor Macros.

This removes the warning from Apple when uploading an app with push notification code that isn’t authorized to send push notifications.