unknown type name MKClusterAnnotation in file registrar.m

KimJensenKimJensen USMember ✭✭

After updating VS 2017 yesterday I get the following errors in the registrar.m file when I try to build the iOS:

unknown type name MKClusterAnnotation; did you mean 'MKPointAnnotation'? (GC871EEFB)
MKClusterAnnotation * res = {0};

expected a type (G5EC502AB)
(MKClusterAnnotation *) mapView:(MKMapView *)p0 clusterAnnotationForMemberAnnotations:(NSArray *)p1

MT4109 Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com

I can't file a bug report it require a login and my Xamarin login did not work.

Help I just have all kinds of bad luck with the iOS part of Xamarin.

Kim

Posts

  • mchuletmchulet INMember ✭✭

    I am facing the same problem after upgrade, this is happening for the second time. Earlier my Android build had broken after an upgrade.

    Xamarin really challenges its developers :neutral:

  • HelderDeBaere.4231HelderDeBaere.4231 USMember
    edited September 21

    Same... Just upgraded and now my build fails

    EDIT: Upgrading Xcode to the latest (new) beta version solves the problem

  • KimJensenKimJensen USMember ✭✭

    Updated to the latest Xcode, now I get the following errors:

    In file Xamarin.iOS.Common.targets: ibtool exited with code 134

    There was a problem parsing the XML in this document:

    System.NotSupportedException: Could not parse xml ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
      at MonoTouch.Design.Client.IPhoneDesignerSession.GetCurrentXcodeVersion () [0x00000] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:847 
      at MonoTouch.Design.Client.IPhoneDesignerSession.get_XcodeVersion () [0x00000] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:160 
      at MonoTouch.Design.IModelObjectContextExtensions.WithIdProvider (MonoTouch.Design.IModelObjectContext context, MonoTouch.Design.IIdProvider idProvider) [0x0000b] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/IModelObjectContextExtensions.cs:10 
      at MonoTouch.Design.Parser.ParseElementsAndAttributes (MonoTouch.Design.ParseContext context, System.Object result) [0x0003d] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:273 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, Xamarin.Designer.ProxiedException error) [0x000d0] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:365 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) [0x00041] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:240 
      at MonoTouch.Design.Parser.ParseElement (MonoTouch.Design.LayoutGuides layoutGuides, MonoTouch.Design.ParseContext context) [0x0000f] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:1014 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 
       --- End of inner exception stack trace ---
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00043] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:313 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229 
      at MonoTouch.Design.Parser.ParseElements (MonoTouch.Design.ParseContext context, System.Object result) [0x000da] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:319 
      at MonoTouch.Design.Parser.ParseElementsAndAttributes (MonoTouch.Design.ParseContext context, System.Object result) [0x0002d] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:269 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, Xamarin.Designer.ProxiedException error) [0x000d0] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:365 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) [0x00041] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:240 
      at MonoTouch.Design.Parser.ParseElement (MonoTouch.Design.ProxiedViewController model, MonoTouch.Design.ParseContext context) [0x000f3] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:746 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 
       --- End of inner exception stack trace ---
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00043] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:313 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229 
      at MonoTouch.Design.Parser.ParseElements (MonoTouch.Design.ParseContext context, System.Object result) [0x000da] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:319 
      at MonoTouch.Design.Parser.ParseElementsAndAttributes (MonoTouch.Design.ParseContext context, System.Object result) [0x0002d] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:269 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, Xamarin.Designer.ProxiedException error) [0x000d0] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:365 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) [0x00041] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:240 
      at MonoTouch.Design.Parser.ParseElement (MonoTouch.Design.Scene scene, MonoTouch.Design.ParseContext context) [0x0008b] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:684 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 
       --- End of inner exception stack trace ---
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00043] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:313 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/referencesource/mscorlib/system/reflection/methodbase.cs:229 
      at MonoTouch.Design.Parser.ParseElements (MonoTouch.Design.ParseContext context, System.Object result) [0x000da] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:319 
      at MonoTouch.Design.Parser.ParseElementsAndAttributes (MonoTouch.Design.ParseContext context, System.Object result) [0x0002d] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:269 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context, System.Object result, Xamarin.Designer.ProxiedException error) [0x000d0] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:365 
      at MonoTouch.Design.Parser.ParseCore (MonoTouch.Design.ParseContext context) [0x00041] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:240 
      at MonoTouch.Design.Parser.ParseElement (MonoTouch.Design.Storyboard sb, MonoTouch.Design.ParseContext context) [0x00040] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:879 
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /private/tmp/source-mono-d15-3/bockbuild-d15-3/profiles/mono-mac-xamarin/build-root/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 
       --- End of inner exception stack trace ---
      at MonoTouch.Design.Parser.Parse (MonoTouch.Design.ParseContext context) [0x00021] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:220 
      at MonoTouch.Design.Parser.Parse (System.Xml.Linq.XElement xml, MonoTouch.Design.DeviceFamily targetRuntime, MonoTouch.Design.IModelObjectContext modelObjectContext) [0x00014] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Shared/Parser.cs:203 
      at MonoTouch.Design.Client.IPhoneDesignerSession+<LoadXml>d__163.MoveNext () [0x00129] in /Users/builder/data/lanes/5123/7afedcae/source/md-addins/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:411 
    
    Contents of /Users/kimjensen/Library/Logs/VisualStudio/7.0/iOSDesigner.2017-09-21__10-23-46.log:
    MDAddinsHash: 3262aadf811a18c12eac6742532d052b0139a808
    
    [2017-09-21 10:52:10.8] INFO: ENTERING sandbox: AndroidDesignerMac
    
    [2017-09-21 10:52:10.8] INFO: LEAVING sandbox: AndroidDesignerMac
    
  • KimJensenKimJensen USMember ✭✭

    HelderDeBaere.4231 I installed the latest Xcode9 is there a never beta version and where can I get it?

  • KimJensenKimJensen USMember ✭✭

    I fixed by opening Xcode and close it again.

  • YanachagaYanachaga USMember ✭✭

    Thanks Kim, I opened and close XCode and fixed the error.

Sign In or Register to comment.