From 0807d3897a3d085562d2ee644b67cfe1d93ba80e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ritzl?= Date: Tue, 24 Oct 2023 13:42:42 +0200 Subject: [PATCH] Add pod generated dir to includes --- server/src/main/java/com/defold/extender/Extender.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/src/main/java/com/defold/extender/Extender.java b/server/src/main/java/com/defold/extender/Extender.java index 664fa56d..c711e279 100644 --- a/server/src/main/java/com/defold/extender/Extender.java +++ b/server/src/main/java/com/defold/extender/Extender.java @@ -529,13 +529,10 @@ private List getIncludeDirs(File extDir) { } } podIncludes.add( ExtenderUtil.getRelativePath(jobDirectory, pod.dir) ); + podIncludes.add( ExtenderUtil.getRelativePath(jobDirectory, pod.generatedDir) ); } includes.addAll(podIncludes); includes.addAll(getFrameworkStaticLibIncludeDirs(resolvedPods)); - - for (PodSpec pod : resolvedPods.pods) { - includes.add(ExtenderUtil.getRelativePath(jobDirectory, pod.generatedDir)); - } } return pruneNonExisting(includes);