Cordova ios build failed caused by GooglePlus Plugin

Build ios app but receive error

ionic cordova platform add ios --verbose

Error is:

Command finished with error code 1: pod install,--verbose
Failed to install 'cordova-plugin-googleplus': Error: pod: Command failed with exit code 1 Error output:
Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2

My ionic info


   Ionic CLI                     : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 6.7.4
   @angular-devkit/build-angular : 13.3.11
   @angular-devkit/schematics    : 12.2.18
   @angular/cli                  : 13.3.11
   @ionic/angular-toolkit        : 4.0.0


   Cordova CLI       : 11.0.0
   Cordova Platforms : ios 6.3.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 16 other plugins)


   cordova-res (update available: 0.15.4) : 0.15.3
   native-run                             : not installed globally


   ios-deploy : 1.11.4
   ios-sim    : 8.0.2
   NodeJS     : v16.10.0 (/Users/MYUSER/.nvm/versions/node/v16.10.0/bin/node)
   npm        : 7.24.0
   OS         : macOS
   Xcode      : Xcode 14.3 Build version 14E222b

there are several warnings during building:

[!] Found multiple specifications for `GoogleUtilities (7.7.0)`:
- /Users/lsantaniello/.cocoapods/repos/trunk/Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json
- /Users/lsantaniello/.cocoapods/repos/cocoapods/Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json

My podfile is:

# DO NOT MODIFY -- auto-generated by Apache Cordova
source ''
source ''
platform :ios, '11.0'
target 'MyApp' do
	project 'MyApp.xcodeproj'
	pod 'FBSDKCoreKit', '11.1.0'
	pod 'FBSDKLoginKit', '11.1.0'
	pod 'FBSDKShareKit', '11.1.0'
	pod 'Firebase/Messaging', '~> 7.4.0'
	pod 'GoogleAnalytics', '3.17.0'
	pod 'GoogleIDFASupport', '3.14.0'
	pod 'GoogleSignIn', '~> 5.0.2'
	pod 'GoogleUtilities', '~> 7.2.2'

Could you please help me to solve the issue.


Are you on a mac with Apple Silicon processor?

They don’t play well with CocoaPods if you install it using gem install cocoapods, we recommend using homebrew to install it with brew install cocoapods command.

1 Like

I don’t know home brew. Build is for me automatic because I use cordova commands.

My processor is: 2,4 GHz Intel Core i5 quad-core

Coulp you please help me to install google plus plugin? If I remove it, I can build and create apple packege for the store.

Please… help me

try going to platforms/ios folder and run pod install there and report back the error you get