Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Build fail with Unexpected error for iOS. Does any one know how to resolve this?

$
0
0

System: VS 2017, build via Mac in the Cloud.

I can build and run the iPhoneSimulator but when I try to do a release build
I get the following:

Detected signing identity:
2> Code Signing Key: "XXXXXXXXXXX" (XXXXXXXXXXXXXXXXXXXX)

2> Provisioning Profile: "InfogenDevProfile" (XXXXXXXXXXXXXXXXXXXXXXXXXX)

2> Bundle Id: XXXXXXXXXXXXXXXXXXXXXXXXXXXX

2> App Id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Xamarin\iOS\Xamarin.iOS.Common.targets(747,3): error : Unexpected error - Please file a bug report at http://bugzilla.xamarin.com

2> System.NullReferenceException: Object reference not set to an instance of an object

`2> at MonoTouch.Tuner.Linker.Process (MonoTouch.Tuner.LinkerOptions options, MonoTouch.Tuner.MonoTouchLinkContext& context, System.Collections.Generic.List'1[Mono.Cecil.AssemblyDefinition]& assemblies) [0x00145] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Tuning.cs:94

2> at Xamarin.Bundler.Target.LinkAssemblies (System.Collections.Generic.List'1[Mono.Cecil.AssemblyDefinition]& assemblies, System.String output_dir, System.Collections.Generic.IEnumerable'1[T] sharedCodeTargets) [0x0029a] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Target.cs:491

2> at Xamarin.Bundler.Target.ManagedLink () [0x005c5] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Target.cs:614

2> at Xamarin.Bundler.Target.ProcessAssemblies () [0x000bb] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Target.cs:800

2> at Xamarin.Bundler.Application.ProcessAssemblies () [0x0002f] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Application.cs:1396

2> at Xamarin.Bundler.Application.BuildManaged () [0x00001] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Application.cs:827

2> at Xamarin.Bundler.Application+<>c.b__134_1 (Xamarin.Bundler.Application v) [0x00000] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Application.cs:775

2> at System.Collections.Generic.List'1[T].ForEach (System.Action'1[T] action) [0x00024] in :0

2> at Xamarin.Bundler.Application.BuildAll () [0x00050] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/Application.cs:775

2> at Xamarin.Bundler.Driver.Main2 (System.String[] args) [0x00481] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/mtouch.cs:1420

2> at Xamarin.Bundler.Driver.Main (System.String[] args) [0x0000f] in /Users/builder/data/lanes/4991/bf350ba5/source/xamarin-macios/tools/mtouch/mtouch.cs:945


Viewing all articles
Browse latest Browse all 91519

Trending Articles