Error install iOS platform / Error: pod: Command failed with exit code 1
See original GitHub issuecordova plugin add cordova-plugin-firebase-analytics --save
, fails on ios
cordova-> 8.1.2 (cordova-lib@8.1.1) cocoapods -> 1.6.1
And the pod repo update
updated.
Any ideas how to fix it?
cordova plugin add cordova-plugin-firebase-analytics --save
Installing "cordova-plugin-firebase-analytics" for android
Plugin dependency "cordova-support-android-plugin@1.0.1" already fetched, using that version.
Installing "cordova-support-android-plugin" for android
Android Studio project detected
Plugin dependency "cordova-support-google-services@1.3.1" already fetched, using that version.
Dependent plugin "cordova-support-google-services" already installed on android.
Subproject Path: CordovaLib
Subproject Path: app
Installing "cordova-plugin-firebase-analytics" for ios
Failed to install 'cordova-plugin-firebase-analytics': Error: pod: Command failed with exit code 1
at ChildProcess.whenDone (/Users/addo/jobs/personal/pushpromo/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at ChildProcess.emit (events.js:188:13)
at maybeClose (internal/child_process.js:978:16)
at Socket.stream.socket.on (internal/child_process.js:395:11)
at Socket.emit (events.js:188:13)
at Pipe._handle.close (net.js:610:12)
pod: Command failed with exit code 1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:13
Top Results From Across the Web
Error: pod: Command failed with exit code 1 using Cordova
I made a mistake in podspec name... Changed fmdb to FMDB to solved it. Usually, when you get Failed to install ...
Read more >Cordova SDK Troubleshooting - Visual Studio App Center
Cordova SDK Troubleshooting · Failed to install plugin - pod command failed with exit code 1 · Failed to install 'cordova-plugin-appcenter-shared ...
Read more >Error: Failed with Exit Code 1 | Apple Developer Forums
It could be in my Code Signing Identity. Target is all 'iOS Developer'. Project is all iPhone Distribution: "Project Owner". Code Signing is...
Read more >Phonegap push plugin Error pod Command failed with exit ...
... "phonegap-plugin-push" for ios Failed to install 'phonegap-plugin-push': Error : pod : Command failed with exit code 1 at ChildProcess.
Read more >Failed to install 'cordova-plugin-facebook4': Error: pod
Failed to install 'cordova-plugin-facebook4': Error: pod: Command failed with exit code 1 · Describe the Bug of feature request · Expected ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pod repo update
fixed this type of issue for me.@saberprashant Thanks for your information. I had to usecordova-plugin-firebase-analytics@0.12.0 instead due to the firebase version conflict within phonegap-plugin-push@2.2.3.
$ cordova plugin add cordova-plugin-firebase-analytics@0.12.0 --variable FIREBASE_CORE_VERSION=12.0.1 --force
For Push Notification on iOS, since we still use use apns, so I followed https://github.com/phonegap/phonegap-plugin-push/issues/2112 to change the value of the key IS_GCM_ENABLED to false in GoogleService-Info.plist. Then Push Notification worked on both iOS and Android.