Ionic Push Plugin doesn't work


I’ve finished to develop my application on Ionic and now I want to try to use native Ionic Push Notifications but the cordova push plugin gives me some errors when I want to build my app on Xcode

in file -> PushPlugin.m
error -> ‘GoogleCloudMessaging.h’ file not found

Furthermore, it gives me that a lot of function that this file uses are deprecated.
What can I do?