Unable to build Distribution version of my app. MT0000 Unexpected error

RyanWatsonRyanWatson USMember ✭✭✭

I am trying to build a version of my app to release to the App Store and the build is failing. Any ideas on what would cause this problem or how to fix it? Unable to release my app due to this.

MTOUCH : error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
System.NullReferenceException: Object reference not set to an instance of an object
at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List1[Mono.Cecil.AssemblyDefinition]& assemblies) [0x00145] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Tuning.cs:94 at Xamarin.Bundler.Target.LinkAssemblies (System.Collections.Generic.List1[Mono.Cecil.AssemblyDefinition]& assemblies, System.String output_dir, System.Collections.Generic.IEnumerable1[T] sharedCodeTargets) [0x0029a] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Target.cs:491 at Xamarin.Bundler.Target.ManagedLink () [0x005c5] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Target.cs:614 at Xamarin.Bundler.Target.ProcessAssemblies () [0x000bb] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Target.cs:800 at Xamarin.Bundler.Application.ProcessAssemblies () [0x0002f] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:1396 at Xamarin.Bundler.Application.BuildManaged () [0x00001] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:827 at Xamarin.Bundler.Application+<>c.<BuildAll>b__134_1 (Xamarin.Bundler.Application v) [0x00000] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:775 at System.Collections.Generic.List1[T].ForEach (System.Action`1[T] action) [0x00024] in :0
at Xamarin.Bundler.Application.BuildAll () [0x00050] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/Application.cs:775
at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00481] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/mtouch.cs:1420
at Xamarin.Bundler.Driver.Main (System.String[] args) [0x0000f] in /Users/builder/data/lanes/4991/4a279c9a/source/xamarin-macios/tools/mtouch/mtouch.cs:945
Done building target "_CompileToNative" in project "MyProject.iOS.csproj" -- FAILED

Posts

  • BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai
    edited August 2017

    A candidate fix for this issue is included in today's "15.3.2 Servicing Release" in the Visual Studio for Mac updater channels.

    Bugzilla cross-reference


    EDIT Aug 24: Clarify that the Xamarin.iOS update in the "Visual Studio for Mac" updater channels is required to get the fix.

  • zjmskyzjmsky USMember ✭✭

    @BrendanZagaeski said:
    A candidate fix for this issue is included in today's "15.3.2 Servicing Release".

    Bugzilla cross-reference

    Hi,I updated my vs2017 to 15.3.2,then when i build ios Distribution version there was a error for this "Unexpected error - Please file a bug report at http://bugzilla.xamarin.com", but when i build debug version ,that is succeed。how resolve this problem? thanks!

  • zjmskyzjmsky USMember ✭✭

    I updated my mac monoframework mdk to 5.2.0.215,the problem was solved

Sign In or Register to comment.