Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2290
AppointmentTapped problem
posted

hi,

My existing app was working great and now i just rebuilt in a following environment

nuclios 2015 v2 and vs.net 2015 and xcode 7.1 on a MAC.

I am crushing every time I click on appointment, so i traced it down to override of AppointmentTapped.

public override void AppointmentTapped(IGCalendarView calView, IGCalendarAppointment appt, IGCalendarAppointmentDataSource dataSource,
CGRect rect, NSDate date)

I never break there but if I comment out the override I can click on appointment and there is no problem, putting it back causing crush with the following error:

System.MissingMethodException: Method 'NSMutableDictionary.get_Item' not found.

What could be possibly wrong?

Thank you

Mark

  • 4940
    Offline posted

    Hi Mark,

    I've linked a sample project. Feel free to test it out and let us know if you have any issues.

    Additionally, I had a similar problem this morning to what you mentioned on a separate Xamarin project, the only thing that would fix it was to create a new iOS solution and copy your source code to the new project. The reason for this is the old projects that use the monotouch assembly reference no longer appear to work in Xamarin. This is outside what we can support, but I thought I'd share that information with you. 

  • 2290
    Offline posted

    hi,

    I downgraded vs.net 2015 to vs.net 2013, reinstalled xamarin and still get the same error but this time the error message is more verbose

    System.ExecutionEngineException: Attempting to JIT compile method 'ProjectName.iOS.Delegates.CalendarViewDelegate:AppointmentTapped (Infragistics.IGCalendarView,Infragistics.IGCalendarAppointment,Infragistics.IGCalendarAppointmentDataSource,CoreGraphics.CGRect,Foundation.NSDate)' while running with --aot-only. See http://docs.xamarin.com/ios/about/limitations for more information.

    I need some help with this please

    Thank you

    Mark