From 2b114a0e4fb388ef860238dcee64b73dd943b0b3 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Tue, 5 Dec 2023 15:15:53 +0100 Subject: [PATCH] fix: use correct ndk env variable --- README.md | 19 ------------------- template.android.csproj | 4 ++-- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 240bd11..129a688 100644 --- a/README.md +++ b/README.md @@ -81,22 +81,3 @@ In this case, you need to add the dependencies as **DLL assemblies** in the `ext ``` Then during the build, the script will automatically add the external dependencies to the generated project. - -### iOS - -For iOS you also need to add path to each dll in `template.beyondnetgen.ios.config.json`: - -```json -{ - "AssemblyPath": "INPUT_PROJECT_NAME/bin/Release/INPUT_NET_SPEC/INPUT_PROJECT_NAME.dll", - "CSharpUnmanagedOutputPath": "GENERATED_PROJECT_NAME/Generated.cs", - "COutputPath": "GENERATED_PROJECT_NAME/Generated.h", - // Add this - "AssemblySearchPaths": [ - "external/Autofac.dll" - ], - "Build": { - "Target": "apple-universal" - } -} -``` diff --git a/template.android.csproj b/template.android.csproj index 17645b1..8806e9b 100644 --- a/template.android.csproj +++ b/template.android.csproj @@ -46,8 +46,8 @@ windows-x86_64 linux-x86_64 darwin-x86_64 - $(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(NdkHost)/bin/llvm-objcopy - $(ANDROID_NDK_ROOT)/toolchains/llvm/prebuilt/$(NdkHost)/sysroot + $(ANDROID_NDK_HOME)/toolchains/llvm/prebuilt/$(NdkHost)/bin/llvm-objcopy + $(ANDROID_NDK_HOME)/toolchains/llvm/prebuilt/$(NdkHost)/sysroot 's/global: _init; _fini;/global: /g;'