Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

The symbol '_OBJC_CLASS_$_FIRAuth' could not be found in any of the libraries linked (MT5211).

$
0
0

I have created a xamarin iOS app by binding the native objective c library. Untill now everything worked fine the xamarin ios app also worked fine. Now i have added Firebase frameworks (Firebase Auth, Database, Analytics, InstanceID) in my native objective c library to use firebase and created the binding the same way i used to do before with xamarin iOS. However i am facing below error in xamarin iOS app.

The errors below: Error MT5211: Native linking failed, undefined Objective-C class: FIRAuth. The symbol 'OBJC_CLASS$_FIRAuth' could not be found in any of the libraries or frameworks linked with your application. (MT5211)

Error MT5211: Native linking failed, undefined Objective-C class: FIRDatabase. The symbol 'OBJC_CLASS$_FIRDatabase' could not be found in any of the libraries or frameworks linked with your application.

I have tried things like :

1) I have added the Firebase NuGet packages inside the App.

2) I have tried to specify the frameworks in the [LinkWith] attribute.

3) I have tried to do the below thing specified in the xamarin errors documentation: A third-party binding bound an Objective-C protocol, but did not annotate it with the [Protocol] attribute in its api definition. However don't know exactly where to add it. I have added it in the ApiDefiniton that i have created but it din't help.

Both ways couldn't help me. It's been a while I am trying to solve the error however could't do that.

Please suggest me if you have any idea about how to sole the error.

Thanks a ton in advance.


Viewing all articles
Browse latest Browse all 204402

Trending Articles