Bug 30740 - MT3001 Could not AOT the assembly Splat.dll
Summary: MT3001 Could not AOT the assembly Splat.dll
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 8.10
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2015-06-03 14:23 UTC by Utsav Patel
Modified: 2015-09-03 15:42 UTC (History)
2 users (show)

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:

Description Utsav Patel 2015-06-03 14:23:15 UTC
Further to the error, I am getting the error pop up of "File not found: /MTOUCH"
Comment 1 Sebastien Pouliot 2015-06-03 16:15:29 UTC
`MT3001` errors means to AOT compiler could not complete it’s job. Without a full build log (one done with `-v -v -v -v) it’s not possible to guess why it happened, nor to suggest potential workaround.

The best way to get this resolved is to attach the assembly that resulted in the `MT3001` error. Ideally a full, self-contained test case is much better. Also having all the versions* information is required.

`*` The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).
Comment 4 Sebastien Pouliot 2015-06-23 11:20:39 UTC
The recent MT3001 errors comes from additional checks done by the AOT compiler [1]. 

That spotted a bug in the linker where an assembly could be invalid (e.g. peverify would not be happy) but that did not affect most application (it never was reported before). 

However that new check nows prevent a successful build. As such it's being, temporarily, disabled for 8.10.2.x. You can download it from [2], it's identical to the beta being released today - but it also removes the check.

[1] the check is new in XI 8.10.1.x, going back to 8.10.0.x should be fine (or the issue is different) using https://kb.xamarin.com/customer/portal/articles/1699777-how-do-i-downgrade-to-an-older-version

[2] http://storage.bos.internalx.com/macios-mac-macios-cycle5-c5sr2/ef/ef8c2f7734c2f1702dec51766aff1de1bed1c5db/monotouch-
Comment 5 Sebastien Pouliot 2015-09-03 15:42:38 UTC
Beside the workaround in the 8.10 service releases the root cause is also fixed in XI 8.99 previews.