28
Views
10
Comments
firebase IOS generating app error
Question

Hi Team,

I am getting below error while generating the app for IOS.


Error installing Cordova plugin: cordova-plugin-firebase. Error in plugin.xml file: the specified pod was not found in the CocoaPods repository

However it is working fine for Android.

The Extensibility configuration for the Firebase Mobile Plugin is as follows.

  "plugin":

    {

        "url": "https://github.com/TruewindIT/cordova-plugin-firebase-only-analytics-notifications#1.0"

    }


OS platform : 11

MABS version: 6.2

Plugin installed : latest version


Thank you.

fireErrorIOS.PNG

Rank: #222

Hello Irfan, take a look in this doc it shows how to discover if your plugin is using CocoaPods.


Maybe inside the plugin.xml something is wrong, you can try to target other version to see if this is solved.

Rank: #222

Also, try to check in Service Center under Mobile Apps Logs to see if there is some more detailed information:



Rank: #2826

Hi Raphael Ranieri ,

Your reply helped me a lot, Thank you.

I will follow the steps you mentioned, if it resolves my issue, I will make this post as "mark as a solution".

I attached the plugin.xml file which I am using.

There are many podspec files which are commented out.

Is it possible to uncomment them and using in my application?

If yes, please let me know how to do that.


Thank you.

podspec.PNG

Rank: #2826

Hi Raphael Ranieri

I have used below link in extensibility config of Firebase mobile where podsec is commented out.

https://github.com/TruewindIT/cordova-plugin-firebase-only-analytics-notifications#1.0

So, I changed extensibility config of Firebase mobile to below, where the podsec is uncommented.

https://github.com/TruewindIT/cordova-plugin-firebase#1.9

Still I am facing  the same issue. I also checked in Service Center under Mobile Apps Logs , where it is showing the same info for this error.

Please help me in this regard.

Thank you.

Rank: #222

Hi Irfan,

Answering the first question from first post, I think the only way to customize the plugin.xml from that version would be forking the github and use your own.

About the second question...

Can you get the detailed stack error from ServiceCenter and attach here to see if we can help?

Just to make sure, you updated the references from the plugin before trying to generate your app?


Rank: #2826

Hi Raphael,

If possible,  shall we connect through zoom now ?

I will share the zoom link so that we can connect and resolve this issue. 


Thanks 

Rank: #222

Hi Irfan,

I'm sorry I don't have disponibility for meetings right now. :l

Since this is a community its nice to post in forums so we can maintain the history and other people can see if need in future and also help in this problem right now.


I've never seen this error you are facing but I hope i can be helpfull in this. :)

Rank: #2826

Thank you Raphael,

Yes, you are correct. 

If we post here then it will be helpful for others too in future.

I will try to get the detailed error and post here.


Hi Irfan,


Can you share the build logs that you'll find on Distribute tab of the application detail?


If not available anymore please generate the app again and retrieve it as soon as possible.

Rank: #2826

Hi Patrícia Glória Ferreira ,

As I am working with team, unable to generate that build log again as we are facing the other issue.

Once it is sorted out, I will regenerate the app and send the logs to you.

Meanwhile can you please help me, what will be the reason for the below error.

Error installing Cordova plugin: cordova-plugin-firebase. Error in plugin.xml file: the specified pod was not found in the CocoaPods repository.

The above error is only in IOS, for android I can able to generate the app.

The Extensibility configuration for the latest Firebase Mobile Plugin is as follows.

  "plugin":

    {

        "url": "https://github.com/TruewindIT/cordova-plugin-firebase-only-analytics-notifications#1.0"

    }

if I change the URL to below, I can able to generate both Android and IOS apps without any errors.

  "plugin":

    {

        "url": "https://github.com/TW-PatriciaGF/cordova-plugin-firebase"

    }


Please let me know the difference between these two?

Do I get the analytics for both apps if I use the second url as shown above in firebase mobile plugin.