Bug 57878 (Blocker, New) - MT4109 Failed to compile the generated registrar code
Summary: MT4109 Failed to compile the generated registrar code
Alias: Blocker, New
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: XI 10.99 (xcode9)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2017-06-30 11:12 UTC by Durai Amuthan
Modified: 2017-07-01 00:27 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 Durai Amuthan 2017-06-30 11:12:03 UTC
When I try to run the app on device I am getting the following error

   MT4109 Failed to compile the generated registrar code

I am using Visual Studio Community 2017 for mac

You may find more information about it here

This issue started happening when I pointed the apple sdk to latest xcode 9(i.e iOS 11)
Comment 1 Durai Amuthan 2017-06-30 11:23:38 UTC
You can find the complete error log here
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-07-01 00:27:09 UTC
You're using the current stable version of Xamarin.iOS (15.2):

> === Xamarin.iOS ===
> Version: (Visual Studio Community)
> Hash: d2270eec
> Branch: d15-2
> Build date: 2017-05-22 16:30:53-0400

with the Xcode 9 beta:

> === Apple Developer Tools ===
> Xcode 9.0 (13158.29)
> Build 9M137d

this is not supported (as you've found out, it doesn't work).

Please use the stable version of Xcode until we've released a preview version with support for Xcode 9 beta.