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.
/Users/mattc/ECMD_APPS/Datasource/MTOUCH: Error MT4109: Failed to compile the generated registrar code. Please file a bug report at http://bugzilla.xamarin.com (MT4109) (Datasource)
I receive this error when trying to compile against my iPhone.
=== Visual Studio Community 2017 for Mac (Preview) ===
Version 7.2 Preview (7.2 build 583)
Installation UUID: 6b9ef9ed-d2b7-4924-af14-49c39ebe7cac
Mono 188.8.131.52 (2017-06/1afb931de69) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Package version: 504000174
=== NuGet ===
=== .NET Core ===
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/msbuild/15.0/bin/Sdks
=== Xamarin.Profiler ===
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Apple Developer Tools ===
Xcode 9.0 (13247)
=== Xamarin.Mac ===
Version: 184.108.40.206 (Visual Studio Community)
=== Xamarin.Android ===
=== Xamarin Inspector ===
Build date: Thu, 14 Sep 2017 21:21:26 GMT
Client compatibility: 1
=== Xamarin.iOS ===
Version: 10.14.0.26 (Visual Studio Community)
Build date: 2017-08-25 17:30:05-0400
=== Build Information ===
Release ID: 702000583
Git revision: 861d3eb8f64655762b85235dde49874645208f51
Build date: 2017-09-05 15:23:48-04
Xamarin addins: 838dc0d12bdbb0407ea44b7bfd11fbe30ddac07b
Build lane: monodevelop-lion-d15-4
=== Operating System ===
Mac OS X 10.12.6
Darwin 16.7.0 Darwin Kernel Version 16.7.0
Thu Jun 15 17:36:27 PDT 2017
Could you upload your full build log? If you also have a failing registrar.m file please attach that too.
To get full build logs just set the log verbosity to diagnostic at the following locations:
- On Visual Studio for Mac: Preferences > Projects > Build
- On Visual Studio for Windows: Tools > Options > Projects and Solutions > Build and Run
On Visual Studio Windows you also want to add `-v -v -v -v` to the mtouch additional arguments by right-clicking the project in the solution explorer and selecting `Properties`.
Note: this is done automatically on Visual Studio for Mac when the log verbosity is set to diagnostic.
This looks like a compatibility issue with 10.14 and Xcode 9. After uploading your logs and file, you can most likely resolve this by updating Xcode 9 to the release version and switching to the Stable Channel for Xamarin.iOS 11 for Xcode 9 support.
Ignore the GM seed comment. Your Xcode does look OK.
This appears to only be related to the version 7.2 preview. I downgraded to the stable build and is is fine. I also noticed that in the info.plist GUI, I could not target iOS 11 in the drop down.
At this point the problem is solved since I am on the stable build.
> Version: 10.14.0.26 (Visual Studio Community)
You need Xamarin.iOS 11.0 (or later) in order to use Xcode 9.0
A XI 11.2 build will soon be available on the beta channel to replace the 10.14 (d15.4) build. In the mean time only stable (or the latest 10.99 web previews) can be used.
Note that you also need to associated VSfM / XVS builds from the same channel.