0

我创建了一个 hello world Xamarin.ios 类库项目。
我添加了 Nuget Embeddinator 4000。
我在 Windows 10 上的 Visual Studio 2019 上构建它。
但是当我运行 objcgen.exe 进行 Embeddinator 转换时,我收到以下错误...

C:\Users\Doug\.nuget\packages\embeddinator-4000\0.4.0\tools\objcgen.exe --gen=Obj-C --platform=ios --compile --debug  --verbose `embedinnator2 class lib.dll'
Parsing assemblies...
        Parsed 'embedinnator2 class lib.dll'
Processing assemblies...
Processing: 1 assemblies
Processing Assembly: embedinnator2 class lib
Processing Type: embedinnator2_class_lib_Class1
TypeMapper Register: System.Void .ctor() init
        1 types found
Generating binding code...
Begin Generator
Generating Assembly: embedinnator2 class lib
Generating Type: embedinnator2_class_lib_Class1
        Generated: .\bindings.h
        Generated: .\bindings-private.h
        Generated: .\bindings.m
        Generated: .\bindings.xml
        Generated: .\embeddinator.h
        Generated: .\glib.h
        Generated: .\mono_embeddinator.h
        Generated: .\mono-support.h
        Generated: .\objc-support.h
        Generated: .\glib.c
        Generated: .\mono_embeddinator.c
        Generated: .\objc-support.m
        Generated: .\Make.config

Compiling binding code...

EM0000: Unexpected error - Please fill a bug report at https://github.com/mono/Embeddinator-4000/issues
System.NullReferenceException: Object reference not set to an instance of an object.

   at Embeddinator.ObjC.SystemCheck.VerifyMono()
   at Embeddinator.ObjC.Embedder.VerifyDependencies()
   at Embeddinator.ObjC.Embedder.Compile()
   at Embeddinator.ObjC.Driver.Main2(String[] args)
   at Embeddinator.ObjC.Driver.Main(String[] args)
Debug Log:
Processing: 1 assemblies
Processing Assembly: embedinnator2 class lib
Processing Type: embedinnator2_class_lib_Class1
TypeMapper Register: System.Void .ctor() init
Begin Generator
Generating Assembly: embedinnator2 class lib
Generating Type: embedinnator2_class_lib_Class1
4

0 回答 0