I am trying to implement UrbanAirship in our Xamarin.Forms project. Currently I just want to implement for iOS. I have tried with UrbanAirship and UrbanAirship.portable version 5.0.2. But I am getting following error during building in AppCenter.
MTOUCH : error MT2101: Can’t resolve the reference ‘System.Void ObjCRuntime.BlockLiteral::SetupBlockUnsafe(System.Delegate,System.Delegate)’, referenced from the method ‘UrbanAirship.UAAction UrbanAirship.UAAction::Action(UrbanAirship.UAActionBlock)’ in ‘Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065’. [/Users/vsts/agent/2.131.0/work/1/s/Source/AsianD8/iOS/MyProject.iOS.csproj]
Visual Studio 2017 Enterprise
Mono version is 5.4.1.
Note: If we remove UrbanAirship DLLs, it builds successfully.
Can anybody please suggest me why I am getting above error and how to resolve it?
If it is issue of compatibility of Mono and UrbanAirship version, can anybody please suggest me which version I should use for Mono version 5.4.1?