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.
Steps to reproduce:
Install Xamarin.iOS cee8090ff85f20881717d93e2c271dbf8aa3b715
Open any monotouch-sample project
Enable the checkbox "Use LLVM optimizing compiler" under iOS Build -> Advanced in project options
Build project for Release|iPhone
Actual Result: An error is thrown building
MTOUCH: error MT3001: Could not AOT the assembly '/Users/xamarinqa/GitRepo/monotouch-samples/HelloWorld_iPhone/obj/iPhone/Release/mtouch-cache/32/Build/Xamarin.iOS.dll'
Expected Result: project builds and deploys on device
Supplemental info: Xamarin.iOS bff596c9a00943be13f242799d395dee974108c1 works as expected
@Zoltan, can you have a look?
I can reproduce this in maccore/master by executing "make build-dev-monotouch-test CONFIG=Release" in maccore/tests:
> Mono Ahead of Time compiler - compiling assembly /work/maccore/master/maccore/tests/monotouch-test/obj/iPhone/ReleaseX/mtouch-cache/32/Build/Xamarin.iOS.dll
> * Assertion: should not be reached at ../../../../../mono/mono/mini/mini-llvm.c:1077
> %"System.Collections.Generic.KeyValuePair`2<TKey_REF, TValue_REF>" zeroinitializer
Fixed by the mono bump in mt master 6b8d015687b746d2332ac70a60037b67502eda61.
*** Bug 29361 has been marked as a duplicate of this bug. ***