MTOUCH: error MT0000: Unexpected error in Xamarin iOS 11.00 and in downgrades with XCode 9

AnatoliiBAnatoliiB USUniversity ✭✭

Just updated my XCode to version 9A235 and Xamarin 11.0 fails to build iOS project with

/Users/xxxx/xxxxxx/XXXXApp.iOS/XXXXApp.iOS.csproj (Build) ->
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets (_CompileToNative target) ->

"MTOUCH: error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com"

anybody know what can be done? any suggestions would be much appreciated!

Posts

  • AnatoliiBAnatoliiB USUniversity ✭✭
    edited September 2017

    just saw more details:

    System.MissingMethodException: Method 'System.Array.Reverse' not found. 3> at Xamarin.MacDev.PropertyListFormat+BinaryFormat+Context.ReadBigEndianUInt64 () [0x00001] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:1480 3> at Xamarin.MacDev.PropertyListFormat+BinaryFormat+Context+CFBinaryPlistTrailer.Read (Xamarin.MacDev.PropertyListFormat+BinaryFormat+Context ctx) [0x0001d] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:1815 3> at Xamarin.MacDev.PropertyListFormat+BinaryFormat+Context..ctor (System.IO.Stream stream, System.Boolean reading) [0x00015] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:1293 3> at Xamarin.MacDev.PropertyListFormat+BinaryFormat.StartReading (System.IO.Stream input) [0x00064] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:1260 3> at Xamarin.MacDev.PObject.FromFile (System.String fileName, System.Boolean& isBinary) [0x0000b] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:335 3> at Xamarin.MacDev.PDictionary.FromFile (System.String fileName, System.Boolean& isBinary) [0x00001] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:762 3> at Xamarin.MacDev.PDictionary.FromFile (System.String fileName) [0x00001] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/external/Xamarin.MacDev/Xamarin.MacDev/PListObject.cs:749 3> at Xamarin.Bundler.Driver.FromPList (System.String name) [0x00026] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/mtouch.cs:896 3> at Xamarin.Bundler.CompileTask.GetSimulatorCompilerFlags (Xamarin.Utils.CompilerFlags flags, System.Boolean is_assembler, Xamarin.Bundler.Application app, System.String language) [0x0001e] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/BuildTasks.mtouch.cs:444 3> at Xamarin.Bundler.Target.NativeLink (Xamarin.Bundler.BuildTasks build_tasks) [0x00375] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Target.cs:1331 3> at Xamarin.Bundler.Application.BuildApp () [0x0003a] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:1446 3> at Xamarin.Bundler.Application.BuildNative () [0x0001f] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:839 3> at Xamarin.Bundler.Application+<>c.<BuildAll>b__134_2 (Xamarin.Bundler.Application v) [0x00000] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:776 3> at System.Collections.Generic.List1[T].ForEach (System.Action`1[T] action) [0x00024] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:564
    3> at Xamarin.Bundler.Application.BuildAll () [0x00076] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:776
    3> at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00481] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/mtouch.cs:1420
    3> at Xamarin.Bundler.Driver.Main (System.String[] args) [0x0000f] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/mtouch.cs:945
    ========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========

    System.MissingMethodException: Method 'System.Array.Reverse' not found.`

  • MattBentleyMattBentley USUniversity

    I am receiving this error as well. Setting the No Link option in the options causes it to go away but that doesn't seem like a real solution to me.

Sign In or Register to comment.