Bug 25781 - error MT4109: Failed to compile the generated registrar code on mono/monotouch-bindings sample code.
Summary: error MT4109: Failed to compile the generated registrar code on mono/monotouc...
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-01-07 10:49 UTC by Paola Villarreal
Modified: 2015-01-07 19:07 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Paola Villarreal 2015-01-07 10:49:08 UTC
While trying to re-make the monotouch-bindings to support unified, I was getting this error on many of them. Using WEPopover as reference sample but this happens in several other projects.

Sample code: https://github.com/mono/monotouch-bindings/tree/master/WEPopover

Build log:
https://gist.github.com/pa-w/ea9e9d51f229b8e677f1

Setup:

Xamarin Studio
Version 5.7 (build 660)
Installation UUID: 226bee58-de6e-4832-9b4c-85cdb95c4472
Runtime:
	Mono 3.12.0 ((detached/a813491)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312000068

Apple Developer Tools
Xcode 6.1 (6602)
Build 6A1052c

Xamarin.iOS
Version: 8.9.0.55 (Business Edition)
Hash: e73080b
Branch: master
Build date: 2015-01-06 09:53:47-0600

Xamarin.Android
Version: 4.20.0.28 (Business Edition)
Android SDK: /Users/paw/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: /usr
No Java runtime present, requesting install.

Xamarin.Mac
Version: 1.11.3.0 (Business Edition)

Build Information
Release ID: 507000660
Git revision: 6a74f9bdb90d9415b597064d815c9be38b401fee
Build date: 2014-12-18 00:38:00-05
Xamarin addins: 57be0f5e1433cb58b70ea9b52e9dc77ad791be40

Operating System
Mac OS X 10.10.1
Darwin Paolas-MacBook-Pro-2.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-01-07 18:48:53 UTC
Fixed.

maccore/master: 3e18168d4e8f1fb411d71a24b8c735a9e64d504e
monotouch/master: 5ffb22ff191bd0903143aca6258fa1810b4c692d

Unit test was added.
Comment 2 Paola Villarreal 2015-01-07 19:07:29 UTC
Fix confirmed. Thank you, Rolf! :)