[//]: # (The original file resides under https://github.com/xamarin/xamarin-macios/tree/master/docs/website/)
[//]: # (This allows all contributors (including external) to submit, using a PR, updates to the documentation that match the tools changes)
[//]: # (Modifications outside of xamarin-macios/master will be lost on future updates)
# MM0xxx: mmp error messages
E.g. parameters, environment, missing tools.
<h3><aname="MM0000">MM0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com</h3>
An unexpected error condition occurred. Please [file a bug report](https://bugzilla.xamarin.com/enter_bug.cgi?product=Xamarin.Mac) with as much information as possible, including:
* Full build logs, with maximum verbosity (e.g. `-v -v -v -v` in the **Additional mmp arguments**);
* A minimal test case that reproduce the error; 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).
<h3><aname="MM0001">MM0001: This version of Xamarin.Mac requires Mono {0} (the current Mono version is {1}). Please update the Mono.framework from http://mono-project.com/Downloads</h3>
<h3><aname="MM0003">MM0003: Application name '{0}.exe' conflicts with an SDK or product assembly (.dll) name.</h3>
<h3><aname="MM0007">MM0007: The root assembly '{0}' does not exist</h3>
<h3><aname="MM0008">MM0008: You should provide one root assembly only, found {0} assemblies: '{1}'</h3>
<h3><aname="MM0010">MM0010: Could not parse the command line arguments: {0}</h3>
<!-- 0013 is unused -->
<h3><aname="MM0016">MM0016: The option '{0}' has been deprecated.</h3>
<h3><aname="MM0017">MM0017: You should provide a root assembly</h3>
<h3><aname="MM0018">MM0018: Unknown command line argument: '{0}'</h3>
<h3><aname="MM0020">MM0020: The valid options for '{0}' are '{1}'.</h3>
<h3><aname="MM0023">MM0023: Application name '{0}.exe' conflicts with another user assembly.</h3>
<h3><aname="MM0026">MM0026: Could not parse the command line argument '{0}': {1}</h3>
<h3><aname="MM0043">MM0043: The Boehm garbage collector is not supported. The SGen garbage collector has been selected instead.</h3>
<h3><aname="MM0050">MM0050: You cannot provide a root assembly if --no-root-assembly is passed.</h3>
<h3><aname="MM0051">MM0051: An output directory (--output) is required if --no-root-assembly is passed.</h3>
<h3><aname="MM0053">MM0053: Cannot disable new refcount with the Unified API.</h3>
<h3><aname="MM0056">MM0056: Cannot find Xcode in any of our default locations. Please install Xcode, or pass a custom path using --sdkroot=<path></h3>
<h3><aname="MM0059">MM0059: Could not find the currently selected Xcode on the system: {0};</h3>
<h3><aname="MM0060">MM0060: Could not find the currently selected Xcode on the system. 'xcode-select --print-path' returned '{0}', but that directory does not exist.</h3>
<h3><aname="MM0068">MM0068: Invalid value for target framework: {0}.</h3>
<h3><aname="MM0079">MM0079: Internal Error - No executable was copied into the app bundle. Please contact 'support@xamarin.com'</h3>
<h3><aname="MM0080">MM0080: Disabling NewRefCount, --new-refcount:false, is deprecated.</h3>
<!-- 0088 used by mtouch -->
<!-- 0089 used by mtouch -->
<h3><aname="MM0097">MM0097: machine.config file '{0}' can not be found.</h3>
<h3><aname="MM0098">MM0098: AOT compilation is only available on Unified</h3>
<h3><aname="MM0099">MM0099: Internal error {0}. Please file a bug report with a test case (http://bugzilla.xamarin.com).</h3>
<h3><aname="MM1501">MM1501: Can not resolve reference: {0}</h3>
##MachO.cs
<h3><aname="MM1600">MM1600: Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.</h3>
<h3><aname="MM1601">MM1601: Not a static library (unknown header '{0}'): {1}.</h3>
<h3><aname="MM1602">MM1602: Not a Mach-O dynamic library (unknown header '0x{0}'): {1}.</h3>
<h3><aname="MM1603">MM1603: Unknown format for fat entry at position {0} in {1}.</h3>
<h3><aname="MM1604">MM1604: File of type {0} is not a MachO file ({1}).</h3>
# MM2xxx: Linker
## MM20xx: Linker (general) errors
<h3><aname="MM2001">MM2001: Could not link assemblies</h3>
<h3><aname="MM2002">MM2002: Can not resolve reference: {0}</h3>
<h3><aname="MM2003">MM2003: Option '{0}' will be ignored since linking is disabled</h3>
<h3><aname="MM2004">MM2004: Extra linker definitions file '{0}' could not be located.</h3>
<h3><aname="MM2005">MM2005: Definitions from '{0}' could not be parsed.</h3>
<h3><aname="MM2006">MM2006: Native library '{0}' was referenced but could not be found.</h3>
<h3><aname="MM2007">MM2007: Xamarin.Mac Unified API against a full .NET profile does not support linking. Pass the -nolink flag.</h3>
<h3><aname="MM2009">MM2009: Referenced by {0}.{1} ** This message is related to MM2006 **</h3>
<h3><aname="MM2010">MM2010: Unknown HttpMessageHandler `{0}`. Valid values are HttpClientHandler (default), CFNetworkHandler or NSUrlSessionHandler</h3>
<h3><aname="MM2011">MM2011: Unknown TLSProvider `{0}. Valid values are default or appletls</h3>
<h3><aname="MM2012">MM2012: Only first {0} of {1} "Referenced by" warnings shown. ** This message related to 2009 **</h3>
<h3><aname="MM2013">MM2013: Failed to resolve the reference to "{0}", referenced in "{1}". The app will not include the referenced assembly, and may fail at runtime.</h3>
<h3><aname="MM2014">MM2014: Xamarin.Mac Extensions do not support linking. Request for linking will be ignored.</h3>
<!-- 2015 used by mtouch -->
<h3><aname="MM2016">MM2016: Invalid TlsProvider `{0}` option. The only valid value `{1}` will be used.</h3>
<h3><aname="MM2017">MM2017: Could not process XML description: {0}</h3>
<h3><aname="MM3001">MM3001: Could not AOT the assembly '{0}'</h3>
<!-- 3002 used by mtouch -->
<!-- 3003 used by mtouch -->
<!-- 3004 used by mtouch -->
<!-- 3005 used by mtouch -->
<!-- 3006 used by mtouch -->
<!-- 3007 used by mtouch -->
<!-- 3008 used by mtouch -->
<h3><aname="MM3009">MM3009: AOT of '{0}' was requested but was not found</h3>
<h3><aname="MM3010">MM3010: Exclusion of AOT of '{0}' was requested but was not found</h3>
# MM4xxx: code generation
## MM40xx: driver.m
<h3><aname="MM4001">MM4001: The main template could not be expanded to `{0}`.</h3>
## MM41xx: registrar
<h3><aname="MM4134">MM4134: Your application is using the '{0}' framework, which isn't included in the MacOS SDK you're using to build your app (this framework was introduced in OSX {2}, while you're building with the MacOS {1} SDK.) This configuration is not supported with the static registrar (pass --registrar:dynamic as an additional mmp argument in your project's Mac Build option to select). Alternatively select a newer SDK in your app's Mac Build options.</h3>
<h3><aname="MM5103">MM5103: Failed to compile. Error code - {0}. Please file a bug report at http://bugzilla.xamarin.com</h3>
<!-- 5104 used by mtouch -->
## MM52xx: linking
<h3><aname="MM5202">MM5202: Mono.framework MDK is missing. Please install the MDK for your Mono.framework version from http://mono-project.com/Downloads</h3>
<h3><aname="MM5203">MM5203: Can't find libxammac.a, likely because of a corrupted Xamarin.Mac installation. Please reinstall Xamarin.Mac.</h3>
<h3><aname="MM5204">MM5204: Invalid architecture. x86_64 is only supported on non-Classic profiles.</h3>
<h3><aname="MM5205">MM5205: Invalid architecture '{0}'. Valid architectures are i386 and x86_64 (when --profile=mobile).</h3>
<!-- 5206 used by mtouch -->
<!-- 5207 used by mtouch -->
<!-- 5208 used by mtouch -->
<!-- 5209 used by mtouch -->
<!-- 5210 used by mtouch -->
<!-- 5211 used by mtouch -->
<!-- 5212 used by mtouch -->
<!-- 5213 used by mtouch -->
<!-- 5214 used by mtouch -->
<!-- 5215 used by mtouch -->
## MM53xx: other tools
<h3><aname="MM5301">MM5301: pkg-config could not be found. Please install the Mono.framework from http://mono-project.com/Downloads</h3>