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.
Created attachment 5942 [details]
Unexpected build error MT0000 when building attached project. Mono 3.2.6 / X.iOS 184.108.40.206.
1. Open attached project in Xamarin Studio on OS X
2. Set to build in Release for iOS Device
3. Build project: it'll build with warnings
4. Build project again: it'll fail with an error
Rebuilding always works.
error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.NullReferenceException: Object reference not set to an instance of an object
at MonoTouch.Tuner.InternalPInvoke.GetEntryPoints (Mono.Linker.LinkContext context) [0x00000] in <filename unknown>:0
at MonoTouch.Application.StripNativeCode () [0x00000] in <filename unknown>:0
at MonoTouch.Application.Build () [0x00000] in <filename unknown>:0
at MTouch.Main2 (System.String args) [0x00000] in <filename unknown>:0
at MTouch.Main (System.String args) [0x00000] in <filename unknown>:0
I have checked this issue with following builds:
X.S 4.3.1(build 5)
I have build attached sample. I am not able to reproduce this issue. This is the screencast for the same: http://screencast.com/t/mqRNHCdA
@Tom, Could you please try it again?
Created attachment 5943 [details]
Log of failed build
Always fails for me. Here's a build log.
I can reproduce it.
This fix will be included in the 7.0.7 release. In the meantime you can either just rebuild when this occurs, or add '-f' to the additional mtouch arguments in the project's iOS Build options (which will force a full rebuild every time).
QA: unit tests have been added as well.
Thank you! Amazingly quick :-)
Does this fix the MT3005+MT3006 warnings too?
No, but those have been fixed in another bug report.
Unit test have been added for this as mentioned in comment#4. Hence changing the status of this issue to Verified.