Bug 47626 - Facing AOT complier while using Firebase analytics dll in iOS Xamarin
Summary: Facing AOT complier while using Firebase analytics dll in iOS Xamarin
Status: RESOLVED DUPLICATE of bug 43689
Alias: None
Product: iOS
Classification: Xamarin
Component: Mono runtime / AOT compiler ()
Version: XI 9.6 (iOS 9.3)
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Zoltan Varga
URL:
Depends on:
Blocks:
 
Reported: 2016-11-22 12:11 UTC by mdcsoln
Modified: 2017-01-02 08:12 UTC (History)
5 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 43689

Description mdcsoln 2016-11-22 12:11:32 UTC
~/SmapleFirebaseiOS/iOS/MTOUCH: Error MT3001: Could not AOT the assembly '~/SmapleFirebaseiOS/iOS/obj/iPhone/Debug/build-iphone8.4-9.3.1/mtouch-cache/Build/Firebase.Analytics.dll' (MT3001) (SmapleFirebaseiOS.iOS)

I tried rebuild, by closing solution, It is not working. 

Is there any resolution available for this error
Comment 1 Vincent Dondain [MSFT] 2016-11-22 13:13:56 UTC
Please include your full build logs, crash reports (if any), test case (to reproduce) and all version informations.

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 2 Sebastien Pouliot 2016-11-22 13:19:28 UTC
Just a quick not to add that a MT3001 error [1] is generic error code that simply means the AOT compiler did not produce any output. In most cases this means the AOT compiler crashed - but the reasons why can vary a lot (e..g corrupted file, obfuscated assembly, bugs).

Like @Vincent asked we'll need the full build log to see what happened (confirm it's a crash). Afterward we'll likely needs a test case that allow us to duplicate the issue. Most time just attaching the .dll to the bug report is enough. Thanks!

[1] https://developer.xamarin.com/guides/ios/troubleshooting/mtouch-errors/#MT3001_Could_not_AOT_the_assembly_
Comment 3 veryhumble 2016-12-25 20:45:48 UTC
I recently had the same issue with an error and not building with Xamarin.Firebase.iOS.Analytics(https://components.xamarin.com/view/firebaseiosanalytics)

After disabling "Incremental Builds" for debug, the error does not occur anymore.
Comment 4 Rolf Bjarne Kvinge [MSFT] 2017-01-02 08:12:25 UTC
This is most likely a dup of bug #43689.

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