Saturday, 2 June 2018

Ionic iOS build error with google-plus plugin

Does anyone know how to resolve the following error? I'm not sure where to start...When trying to build my Ionic project for iOS, I get the following error:

$ ionic cordova build ios
....
/Plugins/cordova-plugin-googleplus/GooglePlus.h:2:9: fatal error: 'GoogleSignIn/GoogleSignIn.h' file not found
#import <GoogleSignIn/GoogleSignIn.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

It works great on Android! But I'm not sure what to do about this iOS build error. My current version of the plugin is: 5.3.0 "Google SignIn"

With the following info:

cli packages:

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.9
Cordova Platforms  : android 7.0.0 browser 5.0.3 ios 4.1.1
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
ios-deploy        : 1.9.0
ios-sim           : 5.0.11
Node              : v8.11.1
npm               : 6.0.0
OS                : macOS Sierra
Xcode             : Xcode 9.2 Build version 9C40b

Any help is greatly appreciated. Thanks



from Ionic iOS build error with google-plus plugin

No comments:

Post a Comment