gonzaloaune / GCMPushPlugin

Push notifications for Cordova (GCM & Native support)
MIT License
37 stars 20 forks source link

Install Error - Google/CloudMessaging.h file not found #24

Closed turbobuilt closed 8 years ago

turbobuilt commented 8 years ago

Hello,

When I try to run the project I get:

Push Test/Plugins/cordova-plugin-gcmpushplugin/GCMPushPlugin.m:3:9: fatal error:
      'Google/CloudMessaging.h' file not found

What can I do about this?

turbobuilt commented 8 years ago

Ok, as other users have said, I needed to install it via cocoapods, as seen here. https://developers.google.com/cloud-messaging/ios/client

Also needed to set Enable Bitcode to false in the Build options, and add -$(inherited) to other linker flags in build settings.