Binding 将ObjectiveC绑定到C#-B触摸意外错误

Binding 将ObjectiveC绑定到C#-B触摸意外错误,binding,xamarin,xamarin.ios,Binding,Xamarin,Xamarin.ios,我尝试为Xamarin项目绑定ArcGIS SDK。我已经建立了一个fat库,并使用Objective Sharpie创建了ApiDefination.cs和StructsAndEnums.cs。我修复了绑定项目中的所有问题、警告和错误,但在生成项目时,我会得到以下生成日志: Build started 05.08.2015 13:56:38. Project "/Users/macbook/Bindings/Iseo.Esri.ObjCBinding/Iseo.Esri.ObjCBinding

我尝试为Xamarin项目绑定ArcGIS SDK。我已经建立了一个fat库,并使用Objective Sharpie创建了ApiDefination.cs和StructsAndEnums.cs。我修复了绑定项目中的所有问题、警告和错误,但在生成项目时,我会得到以下生成日志:

Build started 05.08.2015 13:56:38.
Project "/Users/macbook/Bindings/Iseo.Esri.ObjCBinding/Iseo.Esri.ObjCBinding.csproj" (Build target(s)):

Target _CreateGeneratedSourcesDir:
Created directory "obj/Debug/ios/"
Target _CollectBundleResources:
CollectBundleResources Task
BundleResources:
OptimizePNGs: False
ProjectDir: /Users/macbook/Bindings/Iseo.Esri.ObjCBinding
ResourcePrefix: Resources
Target _CreateEmbeddedResources:
CreateEmbeddedResources Task
BundleResources:
Prefix: monotouch
Target PrepareForBuild:
Configuration: Debug Platform: AnyCPU
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target _GenerateBindings:
BTouchEmitDebugInformation: false
BTouch Task
BTouchToolPath: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/
BTouchToolExe: btouch-native
AdditionalLibPaths:
AllowUnsafeBlocks: True
ApiDefinitions:
ApiDefinition.cs
BaseLibDll: /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/    Xamarin.iOS.dll
CompilerPath:
CoreSources:
StructsAndEnums.cs
DefineConstants: MOBILE;IOS;DEBUG;
EmitDebugInformation: False
GeneratedSourcesDir: obj/Debug/ios/
GeneratedSourcesFileList: obj/Debug/ios//sources.list
Namespace:
NativeLibraries:
NoStdLib: False
OutputAssembly:
References:
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll
Resources:
Sources:
Tool /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/btouch-native execution started with arguments: /v /baselib:/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll /unsafe /d:"MOBILE;IOS;DEBUG" ApiDefinition.cs /s:StructsAndEnums.cs -r      /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll -r /Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll /tmpdir:obj/Debug/ios/ /sourceonly:obj/Debug/ios//sources.list
/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/smcs -debug -unsafe -target:library -nowarn:436 -out:'obj/Debug/ios/temp.dll' -r:/Library/Frameworks/Xamarin.iOS.framework/Versions/8.10.3.2/lib/btouch/btouch-native.exe -r:'/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.dll' -r:'/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll' -r:'/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/System.Core.dll' -r:'/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/mscorlib.dll' -unsafe -r:'/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Xamarin.iOS.dll' -define:MOBILE;IOS;DEBUG 'ApiDefinition.cs' 'StructsAndEnums.cs'

BTOUCH: error BI0000: 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 Generator.GetGetterExportAttribute (System.Reflection.PropertyInfo pinfo) [0x0002c] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/generator.cs:2247
at Generator.GenerateProtocolTypes (System.Type type, System.String class_visibility, System.String TypeName, System.String protocol_name, Foundation.ProtocolAttribute protocolAttribute) [0x00405] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/generator.cs:4943
at Generator.Generate (System.Type type) [0x002a5] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/generator.cs:5131
at Generator.Go () [0x00b97] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/generator.cs:2504
at BindingTouch.Main2 (System.String[] args) [0x00ccd] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/btouch.cs:405
at BindingTouch.Main (System.String[] args) [0x0001d] in /Users/builder/data/lanes/1962/8b265d64/source/maccore/src/btouch.cs:89
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Task "BTouch" execution -- FAILED
Done building target "_GenerateBindings" in project "/Users/macbook/Bindings/Iseo.Esri.ObjCBinding/Iseo.Esri.ObjCBinding.csproj".-- FAILED

Done building project "/Users/macbook/Bindings/Iseo.Esri.ObjCBinding/Iseo.Esri.ObjCBinding.csproj".-- FAILED

Build FAILED.
Errors:

/Users/macbook/Bindings/Iseo.Esri.ObjCBinding/Iseo.Esri.ObjCBinding.csproj  (Build) ->
  /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.ObjCBinding.CSharp.targets (_GenerateBindings target) ->

BTOUCH: error BI0000: Unexpected error - Please file a bug report at          http://bugzilla.xamarin.com

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:02.8843620

--------------------- Fertig ---------------------

Build: 1 Fehler, 0 Warnungen

我希望有人能给我一些建议来帮助我找到解决方案。

按照错误消息所说的去做,然后(在绑定项目中)提交一个bug,我们来看看。allready在这里完成的是链接:facing sameissue@slashshogdhe这个错误在一年前就被修复了。如果有的话,您应该打开一个新的bug报告,或者打开自己的堆栈溢出帖子。