xamarin / GoogleApisForiOSComponents

MIT License
225 stars 162 forks source link

Error building in DevOps #409

Open johnn82 opened 4 years ago

johnn82 commented 4 years ago

I'm currently using this plugin https://github.com/CrossGeeks/GoogleClientPlugin which uses these libs:

Xamarin.Google.iOS.SignIn Xamarin.Firebase.iOS.Core

I can compile without error on my mac. I'm unable to compile on a build pipeline in DevOps. Getting these errors.

`MTOUCH : error MT5214: Native linking failed, undefined symbol: _kGIDSignInErrorDomain. This symbol was referenced by the managed member Google.SignIn.SignIn.SignInErrorDomainKey. Please verify that all the necessary frameworks have been referenced and native libraries linked.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDSignInButton. The symbol '_OBJCCLASS$_GIDSignInButton' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDSignIn. The symbol '_OBJCCLASS$_GIDSignIn' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDGoogleUser. The symbol '_OBJCCLASS$_GIDGoogleUser' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDProfileData. The symbol '_OBJCCLASS$_GIDProfileData' could not be found in any of the libraries or frameworks linked with your application.

MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDAuthentication. The symbol '_OBJCCLASS$_GIDAuthentication' could not be found in any of the libraries or frameworks linked with your application.

`

KazysNoobiys commented 3 years ago

Same problem. Is there a solution?

Upd. Solved this problem. To do this, I installed the Xamarin.Google.iOS.SignIn package in the ios project.