Community Forums

Where our customers, developers, and more can come together to help each other with both general and technical questions about our products and services.

Xamarin.iOS project issue

Nasir Ahmed

We have an Xamarin.Forms project.  I have updated the Xamarin.Forms and UrbanAirship  nuget packages to the latest versions. MY .NetStandard and Android  projects are compiling fine. My Xamarin iOS   project is throwing following errors: 

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(795,3): error MT2101: Can't resolve the reference 'Foundation.NSArray Foundation.NSArray::FromNSObjects(!!0[])', referenced from the method 'System.Void UrbanAirship.UAScheduleInfoBuilder::set_Triggers(UrbanAirship.UAScheduleTrigger[])' in 'Xamarin.iOS, Version=, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.
2> --- inner exception

 Mono.Linker.MarkException: Error processing method: 'System.Void UrbanAirship.UAScheduleInfoBuilder::set_Triggers(UrbanAirship.UAScheduleTrigger[])' in assembly: 'AirshipBindings.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve Foundation.NSArray Foundation.NSArray::FromNSObjects(!!0[])



Please sign in to leave a comment.


Hello Nasir,

May I ask if you can return the following information in order for me to troubleshoot the problem?

- The version of Xamarin.iOS you have installed (I would recommend updating to the latest if you haven't already done so).
- The version of the Airship SDK you are using
- A screenshot of your Project list/solution explorer so I can see which packages are installed and where
Kind regards,
Chilun Liu
Senior Technical Support Engineer
chilun liu 0 votes
Comment actions Permalink