I am trying to use Microsoft.AppCenter nuget to a Xamarin app. Xamarin.Android is building fine. But I am getting an error while trying to build the Xamarin.iOS app.
MTOUCH: Error MT5210: Native linking failed, undefined symbol: _kMSLongTypedPropertyType. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
I have tried the solution mentioned in the below link https://learn.microsoft.com/en-us/xamarin/ios/troubleshooting/mtouch-errors#MT5210
But I am still getting the error while I am trying to build Xamarin.iOS app. I am using the below configurations:
The issue got fixed after installing Microsoft.AppCenter.Analytics
and Microsoft.AppCenter.Crashes
. As @Junior Jiang - MSFT mentioned, if code uses microsoft app center to get the analytics and crashes, we need to install these two nugets along with Microsoft.AppCenter
. Thanks.