# Cordova-plugin-firebase issues with ios

**URL:** <https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368>\
**Category:** cordova\
**Created:** [March 18, 2020, 1:52pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368 "2020-03-18T13:52:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishamane](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nishamane](https://forum.ionicframework.com/u/nishamane)\
**Post date:** [March 18, 2020, 1:52pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/1 "2020-03-18T13:52:02Z")

</div>

I have created iOS build for my ionic4 app having Cordova version 9.0.0. When I installed cordova-plugin-firebase and build the code with **ionic cordova buld ios** command, build failed with following error :  
The following build commands failed:  
CompileC /Users/devbis365/Library/Developer/Xcode/DerivedData/DriversApp-hcwntjbscgtzpvdriulszbasewep/Build/Intermediates.noindex/DriversApp.build/Debug-iphonesimulator/DriversApp.build/Objects-normal/x86\_64/FirebasePlugin.o /Users/devbis365/Documents/DriveraAPP/testDrivers/Drivers/platforms/ios/DriversApp/Plugins/cordova-plugin-firebase/FirebasePlugin.m normal x86\_64 objective-c com.apple.compilers.llvm.clang.1\_0.compiler  
(1 failure)

Any ideas.??

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [March 18, 2020, 2:04pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/2 "2020-03-18T14:04:16Z")

</div>

Please thy this Plugin: [https://ionicframework.com/docs/native/firebase-x](https://ionicframework.com/docs/native/firebase-x)

---

<div class="post-metadata">

**Author:** ![nishamane](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nishamane](https://forum.ionicframework.com/u/nishamane)\
**Post date:** [March 20, 2020, 4:21am UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/3 "2020-03-20T04:21:55Z")

</div>

Tried the same plugin and got error… Any solution to fix this error…?

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [March 20, 2020, 8:53am UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/4 "2020-03-20T08:53:01Z")

</div>

Exactly the same Error with the other Plugin?

---

<div class="post-metadata">

**Author:** ![nishamane](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nishamane](https://forum.ionicframework.com/u/nishamane)\
**Post date:** [March 20, 2020, 2:03pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/5 "2020-03-20T14:03:58Z")

</div>

Not Same error. I installed both the plugins mentioned in link successfully. But when I am trying to add platform folder for iOS it failed with following error:  
Failed to install ‘cordova-plugin-firebasex’: Error: pod: Command failed with exit code 31

Appreciate your help… 👍

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [March 20, 2020, 2:08pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/6 "2020-03-20T14:08:41Z")

</div>

Have you uninstalled the normal Firebase Plugin?

---

<div class="post-metadata">

**Author:** ![nishamane](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nishamane](https://forum.ionicframework.com/u/nishamane)\
**Post date:** [March 20, 2020, 2:09pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/7 "2020-03-20T14:09:54Z")

</div>

Yes… I have uninstalled normal firebase plugin

---

<div class="post-metadata">

**Author:** ![nishamane](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nishamane](https://forum.ionicframework.com/u/nishamane)\
**Post date:** [March 20, 2020, 2:20pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/8 "2020-03-20T14:20:52Z")

</div>

Also getting following messages along with the error :  
[!] Found multiple specifications for `Crashlytics (3.14.0)`:

- /.cocoapods/repos/cocoapods/Specs/3/6/0/Crashlytics/3.14.0/Crashlytics.podspec.json
- /.cocoapods/repos/trunk/Specs/3/6/0/Crashlytics/3.14.0/Crashlytics.podspec.json

[!] Found multiple specifications for `GoogleSignIn (5.0.2)`:

- /.cocoapods/repos/cocoapods/Specs/d/4/0/GoogleSignIn/5.0.2/GoogleSignIn.podspec.json
- /.cocoapods/repos/trunk/Specs/d/4/0/GoogleSignIn/5.0.2/GoogleSignIn.podspec.json

[!] Found multiple specifications for `GoogleTagManager (7.1.2)`:

- /.cocoapods/repos/cocoapods/Specs/9/5/6/GoogleTagManager/7.1.2/GoogleTagManager.podspec.json
- /.cocoapods/repos/trunk/Specs/9/5/6/GoogleTagManager/7.1.2/GoogleTagManager.podspec.json  
at ChildProcess.whenDone (/node\_modules/cordova-common/src/superspawn.js:135:23)

Not sure these are the warning or errors. Any solution…?

---

<div class="post-metadata">

**Author:** ![tarik80](https://avatars.discourse-cdn.com/v4/letter/t/5e9695/32.png) [@tarik80](https://forum.ionicframework.com/u/tarik80)\
**Post date:** [July 26, 2022, 1:53pm UTC](https://forum.ionicframework.com/t/cordova-plugin-firebase-issues-with-ios/185368/9 "2022-07-26T13:53:25Z")

</div>

Hi Nishamane

please, Any solution for this probleme

thanks
