GCMPushPlugin icon indicating copy to clipboard operation
GCMPushPlugin copied to clipboard

Installing GCMPushPlugin via cocoapods

Open Kurir opened this issue 10 years ago • 2 comments

Hi All,

I have run into the "Google/Cloud Messaging.h file missing" error and so I am trying to install via cocoapods following Google's instructions, however I am getting an error whenever I run pod install:

Specs satisfying the 'Google/CloudMessaging' dependency were found, but they required a higher minimum deployment target.

If I try to cordova build ios, it fails at the missing file error.

I have set deployment target to 7.1, enabled modules and added $(inherited) to my other link flags.

My Podfile is:

xcodeproj '/Users/user/projects/tenant-app/platforms/ios/CordovaLib/CordovaLib.xcodeproj'

target 'CordovaLib' do

prod 'Google/CloudMessaging'

end

Any suggestions? This was really easy to set up for android, but is proving to be a real pain for ios.

Kurir avatar Dec 04 '15 05:12 Kurir

Ended up being that I was using the wrong project to build against. I am now running into the much more common linking and bitcode issues on ios, but this can be closed now.

Kurir avatar Dec 14 '15 20:12 Kurir

Hello, how did you end up getting this working? I am having this same issue.

turbobuilt avatar Feb 08 '16 01:02 turbobuilt