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.
Xamarin.iOS app fails to build in Release mode with following error:
MONO_PATH=/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build /Library/Frameworks/Xamarin.iOS.framework/Versions/188.8.131.52/bin/arm-darwin-mono-sgen --debug -O=gsharedvt --aot=mtriple=armv7s-ios,full,static,asmonly,direct-icalls,nodebug,dwarfdebug,outfile=/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Tradewize.iOS.exe.armv7s.s "/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe"
Mono Ahead of Time compiler - compiling assembly /Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe
* Assertion at ../../../../../mono/mono/metadata/metadata.c:3532, condition `ptr' not met
MTOUCH: error MT3001: Could not AOT the assembly '/Users/prashantvc/Downloads/Project/Tradewize.iOS/obj/iPhone/Release/mtouch-cache/Build/Tradewize.iOS.exe'
Task "MTouch" execution -- FAILED
Done building target "_CompileToNative" in project "/Users/prashantvc/Downloads/Project/Tradewize.iOS/Tradewize.iOS.csproj".-- FAILED
Done building project "/Users/prashantvc/Downloads/Project/Tradewize.iOS/Tradewize.iOS.csproj".-- FAILED
Full build log - https://gist.github.com/prashantvc/0cb48a44b283cd8006d0
This issues does not seem to happen, when customer updated to the latest version of Xamarin tools