C# 如何为.Net嵌入构建ObjGen工具(Github Embeddedinator-4000)?

C# 如何为.Net嵌入构建ObjGen工具(Github Embeddedinator-4000)?,c#,.net,xamarin,xamarin.ios,mono-embedding,C#,.net,Xamarin,Xamarin.ios,Mono Embedding,第五次尝试(2020年3月24日) 我的步骤是让它建立在Mac上 1. Clone github > Embeddinator-4000 git clone https://github.com/mono/Embeddinator-4000.git 2. cd into the cloned dir 3. Install other stuff: git submodule update --recursive --init 4. Build objcgen cd objcgen

第五次尝试(2020年3月24日)


我的步骤是让它建立在Mac上

1.  Clone github > Embeddinator-4000
git clone https://github.com/mono/Embeddinator-4000.git

2. cd into the cloned dir

3. Install other stuff:
git submodule update --recursive --init

4. Build objcgen
cd objcgen
make
这将获得“0个错误”,但“未找到shellcheck工具”,对此我无法找到解决方案

我无法让objcgen运行C#推荐的示例:

cd ~/Projects/hello-from-csharp
objcgen ~/Projects/hello-from-csharp/hello-from-csharp/bin/Debug/hello-from-csharp.dll --target=framework --platform=iOS --outdir=output -c --debug
或者使用Github>Embeddedinator-4000中的示例:

Use mono ./bin/Debug/objcgen.exe --gen=Obj-C -o ./Output ManagedAssembly1.dll

我的步骤是让它建立在Mac上

1.  Clone github > Embeddinator-4000
git clone https://github.com/mono/Embeddinator-4000.git

2. cd into the cloned dir

3. Install other stuff:
git submodule update --recursive --init

4. Build objcgen
cd objcgen
make
  • 克隆github>Embeddedinator-4000
    git克隆

  • 将cd放入克隆的目录中

  • 安装其他内容:
    git子模块更新--递归--初始化

  • 构建对象:
    cd objcgen
    制造

  • 将“包装器”(即命令访问)构建到objcgen:
    使裸体