HOW TO DO IT FOR CORD APPLICATIONS:
I also had this problem. The solution suggested by @michaelb worked, but I was pretty upset to see that it was all wrapped in conditional compilation (i.e. #ifndef DISABLE_PUSH_NOTIFICATIONS ), which I decided to learn to add a "Macroprocessor Macro", which basically tells Xcode for compiling your application with this lack of code.
Thus, you can define the precompilation symbol DISABLE_PUSH_NOTIFICATIONS graphically through the user interface (note that this is done in Xcode 6.1):

Hope this helps other people in the same situation.
Steven de Salas Aug 04 '15 at 3:03 on 2015-08-04 03:03
source share