Linker Error when adding Xamarin.Firebase.iOS.RemoteConfig(4.2.1.1) to Xamarin Forms #368
Description
I have created a new Xamarin Forms project and added the Xamarin.Firebase.iOS.RemoteConfig nuget package (version 4.2.1.1) to the iOS project.
I then add the following line to the FinishedLaunching
method in AppDelegate
.
Firebase.Core.App.Configure();
I have also added the GoogleService-Info.plist
which was downloaded from the Firebase Console.
Normally I would expect that, this simple setup to compile and run yet it produces the following linker error
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: FIRInstanceID. The symbol 'OBJC_CLASS$_FIRInstanceID' could not be found in any of the libraries or frameworks linked with your application.
clang : error : linker command failed with exit code 1 (use -v to see invocation).
I even tried adding the Xamarin.Firebase.iOS.InstanceID package but get the same error.