Bug 27704 - MT3001: Could not AOT the assembly mscorlib.dll/PhoneWord_iOS.exe/System.dll/Xamarin.iOS.dll
Summary: MT3001: Could not AOT the assembly mscorlib.dll/PhoneWord_iOS.exe/System.dll/...
Status: RESOLVED DUPLICATE of bug 26699
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 8.2.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-05 10:45 UTC by mickael.guesdon
Modified: 2016-05-26 21:37 UTC (History)
4 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 DUPLICATE of bug 26699

Description mickael.guesdon 2015-03-05 10:45:27 UTC
I did this tutorial :
http://developer.xamarin.com/guides/ios/getting_started/hello,_iOS/hello,iOS_quickstart/

The project work on simulator, but when I try to do a simple build for device (no device connected) I have 4 compilation errors.

MTOUCHTASK: error MT3001: Could not AOT the assembly '/Users/mickaelguesdon/Documents/Niji/Xamarin/PhoneWord_iOS/PhoneWord_iOS/obj/iPhone/Debug/mtouch-cache/64/Build/mscorlib.dll'
MTOUCHTASK: error MT3001: Could not AOT the assembly '/Users/mickaelguesdon/Documents/Niji/Xamarin/PhoneWord_iOS/PhoneWord_iOS/obj/iPhone/Debug/mtouch-cache/64/Build/PhoneWord_iOS.exe'
MTOUCHTASK: error MT3001: Could not AOT the assembly '/Users/mickaelguesdon/Documents/Niji/Xamarin/PhoneWord_iOS/PhoneWord_iOS/obj/iPhone/Debug/mtouch-cache/64/Build/System.dll'
MTOUCHTASK: error MT3001: Could not AOT the assembly '/Users/mickaelguesdon/Documents/Niji/Xamarin/PhoneWord_iOS/PhoneWord_iOS/obj/iPhone/Debug/mtouch-cache/64/Build/Xamarin.iOS.dll'

Context:
Xamarin Studio Version 5.7.2 (build 7)
Installation UUID: f46504eb-1fd3-4008-92c1-e377e149c0e4
Runtime: Mono 3.12.0 ((detached/b8f5055) / GTK+ 2.24.23 (Raleigh theme)/Package version: 312000077

Apple Developer Tools / Xcode 6.1.1 (6611) / Build 6A2008a

Xamarin.iOS Version: 8.6.2.26 (Starter Edition) /Hash: 9905782 /Branch: Build date: 2015-02-26 11:05:07-0500

Attachement:
The project I'm working on.
Comment 1 mickael.guesdon 2015-03-05 10:47:46 UTC
I can't upload the project size is limited to 8Mo and the project zip is 15Mo
Comment 2 Rolf Bjarne Kvinge [MSFT] 2015-03-05 12:27:24 UTC
Try using a file-sharing service like Dropbox instead.
Comment 3 mickael.guesdon 2015-03-06 03:41:03 UTC
Here is the link : https://www.dropbox.com/s/j6b4jqz8okslg1n/PhoneWord_iOS.zip?dl=0
Comment 4 Sebastien Pouliot 2015-03-06 16:30:24 UTC
This works correctly for me.

Could you add "-v -v -v -v" to the "Additional mtouch arguments" (in the Project Options, iOS Build, General), then do a "Rebuild" of your project and finally copy/paste the "Build Output" (part of the "Errors pad") in this bug report ?

That will give us more detailed information about how things were built. Thanks!
Comment 5 mickael.guesdon 2015-03-06 21:04:02 UTC
Ok , here are the logs : https://www.dropbox.com/s/phmme1a1w24l67w/log_build_xamarin.rtf?dl=0
Thanx for your help
Comment 6 Sebastien Pouliot 2015-03-07 12:02:36 UTC
This might be a duplicate of bug #26699 - something is making the AOT compiler crash.

@Mickael could you provide us with a bit more details* (e.g. OS X version) being used. Also anything uncommon about your Mac (e.g. multiple hard drives)

* 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 7 mickael.guesdon 2015-03-08 13:37:26 UTC
=== Xamarin Studio ===

Version 5.7.2 (build 7)
Installation UUID: f46504eb-1fd3-4008-92c1-e377e149c0e4
Runtime:
	Mono 3.12.1 ((detached/b7764aa)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 312010000

=== Apple Developer Tools ===

Xcode 6.1.1 (6611)
Build 6A2008a

=== Xamarin.iOS ===

Version: 8.6.3.3 (Starter Edition)
Hash: 90e32d0
Branch: 
Build date: 2015-03-06 12:27:17-0500

=== Xamarin.Android ===

Version: 4.20.0.37 (Starter Edition)
Android SDK: /Users/mickaelguesdon/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
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin.Mac ===

Not Installed

=== Build Information ===

Release ID: 507020007
Git revision: dcf3f486177d3e625349b51a8f3be807e3fa7712
Build date: 2015-02-24 09:14:27-05
Xamarin addins: ea7c65bb7876e4a876ab365208e94acdf8f330ef

=== Operating System ===

Mac OS X 10.10.2
Darwin C02H1855DV7L.local 14.1.0 Darwin Kernel Version 14.1.0
    Mon Dec 22 23:10:38 PST 2014
    root:xnu-2782.10.72~2/RELEASE_X86_64 x86_64
Comment 8 Sebastien Pouliot 2016-05-26 21:37:19 UTC
This was not reported again so it was likely a dupe as suspected.

If you are still experiencing this issue please provide all the requested information and re-open the bug report. Thanks!

*** This bug has been marked as a duplicate of bug 26699 ***