Bug 59678 - Error GC871EEFB: unknown type name 'MKClusterAnnotation'; did you mean 'MKPointAnnotation'? (GC871EEFB)
Summary: Error GC871EEFB: unknown type name 'MKClusterAnnotation'; did you mean 'MKPoi...
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 11.4 (d15-5)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
: 59679 ()
Depends on:
Reported: 2017-09-22 05:17 UTC by Eric Wellnitz
Modified: 2017-09-22 06:09 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Eric Wellnitz 2017-09-22 05:17:13 UTC
/Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.m(8,8): Error GC871EEFB: unknown type name 'MKClusterAnnotation'; did you mean 'MKPointAnnotation'? (GC871EEFB)

 (PlatinumSoft.VersaGolf.iOS)/Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.m(2,2): Error GC871EEFB: unknown type name 'MKClusterAnnotation'; did you mean 'MKPointAnnotation'? (GC871EEFB)
(PlatinumSoft.VersaGolf.iOS)/Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.m(4,4): Error G5EC502AB: expected a type (G5EC502AB) (PlatinumSoft.VersaGolf.iOS)

/Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.m(4,4): Error G5EC502AB: expected a type (G5EC502AB) (PlatinumSoft.VersaGolf.iOS)

/Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/MTOUCH: Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) (PlatinumSoft.VersaGolf.iOS)
Comment 1 Eric Wellnitz 2017-09-22 05:19:22 UTC
I did want to add that I get a similar issue on VS on Win10.  This started happening after installing the 15.3.5 version of VS
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-09-22 05:31:49 UTC
This can happen in some projects, it's the MT4109 error mentioned in the release notes [1].

This is why the notes mention that Xamarin.iOS 11.0 requires Xcode 9 and its SDK. 

It's not strictly true (it works in some cases) and there are some possible workarounds, but they are not optimal. E.g. since header files will not be available, application performance can suffer since what's can be done at build time needs to be done at startup.

The easiest solution is to update your Mac to use Xcode 9.

However, I'm interested in looking at your exact scenario so that we can try to improve it in the future, so could you attach the following files to the bug report before upgrading Xcode?

> /Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.m
> /Users/ericwellnitz/Projects/DefaultCollection/_git/Golf/PlatinumSoft.VersaGolf.iOS/obj/iPhone/Debug/device-builds/iphone8.1-10.3.3/mtouch-cache/registrar.h

[1] https://developer.xamarin.com/releases/ios/xamarin.ios_11/xamarin.ios_11.0/#Requirements
Comment 3 Rolf Bjarne Kvinge [MSFT] 2017-09-22 06:09:36 UTC
*** Bug 59679 has been marked as a duplicate of this bug. ***