Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
A compile error occurs when building for device while implementing a custom MKMapView subclass and overriding the methods AddAnnotation and AddAnnotations.
**Steps to Reproduce:**
1. Create a Unified iOS app
2. Add this code:
public class CustomMapView : MKMapView
public override void AddAnnotation(IMKAnnotation annotation)
public override void AddAnnotations(params IMKAnnotation annotations)
3. Build the app for Device (compiles OK for simulator)
> /Users/johnmiller/Downloads/MapDemo/MapDemo/MTOUCHTASK: Error MT4111: The registrar cannot build a signature for type `MapKit.IMKAnnotation' in method `MapDemo.CustomMapView.AddAnnotations`. (MT4111) (MapDemo)
**Build Date & Platform:**
I have checked this issue with Xamarin.iOS 220.127.116.11 (Master) and this issue has been fixed.
Hence closing this issue. Screencast : http://www.screencast.com/t/8FMiAoUb1
Environment Info :
Mac OS X 10.9.5
Xamarin Studio 5.7.1 (build 17)
Mono 3.12.0 ((detached/a813491)
GTK+ 2.24.23 (Raleigh theme)
Xcode 6.1.1 (6611)
Xamarin.iOS 18.104.22.168 (Business Edition)
I have also checked this issue with Xamarin.iOS 22.214.171.124 (Release) and this issue has been fixed with build Xamarin.iOS 126.96.36.199 (Release) also.
Screencast : http://www.screencast.com/t/C7Q9mXBBCps