I am trying to implement Google Sign in for Xamarin.iOS app.i have added the package Google Sign-In for iOS required for Sign in process.had Setup AppDelegate, added GoogleService-Info.plist to the Xamarin.iOS app project. when i run the build it displays an error below.
[Firebase/Core][I-COR000012] Could not locate configuration file: 'GoogleService-Info.plist'.
Error configuring the Google context: The operation couldn’t be completed. (com.google.greenhouse error -3.)
Add your GoogleService-Info. plist file is something you can download from your Firebase's project settings. Drag your GoogleService-Info. plist to the Runner folder.
Make sure that the file is in your {Project}.iOS build and that the file is exactly called "GoogleService-Info.plist". Also be sure that you set the build action of the "GoogleService-Info.plist" file to: BundleResource
For a full tutorial take a look at: https://components.xamarin.com/gettingstarted/firebaseioscloudmessaging (this is a link for cloud messages but the first part is the same for all firebase services)
In Visual Studio for Windows,
Include the GoogleService-Info.plist file in the IOs project root,
Then right click on the GoogleService-Info.plist file and go to Properties. Under Properties, set BundleResource for Build Action,
That's all you have to do 😉. Now just clean the project, delete the bin and obj directories, then run the project 😊
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With