简体   繁体   中英

Getting an error while using Microsoft.AppCenter with Xamarin.iOS

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://docs.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:

  • Visual Studio Community 2019 for Mac
  • Version 8.4.4 (build 91)
  • Xamarin.iOS
  • Version: 13.10.0.17 (Visual Studio Community)

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM