Xamarin.ios.Net嵌入错误:“0”;请使用objcgen工具生成Objective-C“;
我无法使.Net嵌入转换Xamarin.IOS类库项目,以便可以从Xcode Objective-C项目调用它 我在Windows10上创建了XamarinIOS类库项目“EmbedinAtor2类库”,最新版本为VisualStudio2019。 我安装了Embeddedinator-4000 NuGet。 我建造了这个项目。 使用PowerShell以管理员身份运行以输入项目的bin\debug\然后执行。。。 C:\Users\Doug.nuget\packages\embeddinator-4000\0.4.0\tools\embeddinator-4000.exe--gen=Obj-C--platform=ios--compile--debug--target=static--static--verbose+embeddinator2 class lib.dll 但后来得到了这个: “请使用objcgen工具生成Objective-C。” 根据自述: 不要使用Embeddedinator-4000.exe 使用mono./bin/Debug/objcgen.exe--gen=Obj-C-o./Output ManagedAssembly1.dllXamarin.ios.Net嵌入错误:“0”;请使用objcgen工具生成Objective-C“;,xamarin,xamarin.ios,embeddinator,Xamarin,Xamarin.ios,Embeddinator,我无法使.Net嵌入转换Xamarin.IOS类库项目,以便可以从Xcode Objective-C项目调用它 我在Windows10上创建了XamarinIOS类库项目“EmbedinAtor2类库”,最新版本为VisualStudio2019。 我安装了Embeddedinator-4000 NuGet。 我建造了这个项目。 使用PowerShell以管理员身份运行以输入项目的bin\debug\然后执行。。。 C:\Users\Doug.nuget\packages\embeddinato
回复:网上的每个人都说,在Windows平台上进行.Net嵌入不起作用,在MacOS上也不起作用。我现在遇到的问题是从Github Emb-4000的repo clone中构建objcgen。有许多.csproj Visual Studio项目。孤独的.sln会出现构建错误。我应该使用哪个.csproj?或者我可以只使用“make”在本地回购中的Mac终端提示下?