From a1a20533187721ee3eb8c4797a8cffd5ffc48b8f Mon Sep 17 00:00:00 2001 From: Mathias Westerdahl Date: Mon, 20 Mar 2017 11:01:17 +0100 Subject: [PATCH] DEF-2569 Renamed ios sdk to iPhoneOS9.3.sdk (#32) --- server/docker/Dockerfile | 6 ++++++ .../src/main/java/com/defold/extender/WhitelistConfig.java | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/server/docker/Dockerfile b/server/docker/Dockerfile index 7c6b92bd..5df566f4 100644 --- a/server/docker/Dockerfile +++ b/server/docker/Dockerfile @@ -100,7 +100,13 @@ ADD test.sh /tmp ADD build-darwin-toolchain.sh /tmp RUN /tmp/build-darwin-toolchain.sh 84ce22dbb22a26ce7f392e9de0ee39c2efe6fd68 +# Right now, the package contains iPhoneOS.sdk, in the future, we want iPhoneOS9.3.sdk RUN wget -q -O - ${S3_URL}/iPhoneOS9.3.sdk.tar.gz | tar xz -C /opt +# Until we've fixed the package +RUN mv /opt/iPhoneOS.sdk /opt/iPhoneOS9.3.sdk +# backwards compatible +RUN ln -s /opt/iPhoneOS9.3.sdk /opt/iPhoneOS.sdk + RUN wget -q -O - ${S3_URL}/MacOSX10.11.sdk.tar.gz | tar xz -C /opt RUN ln -s /usr/local/bin/llvm-dsymutil /usr/local/bin/dsymutil diff --git a/server/src/main/java/com/defold/extender/WhitelistConfig.java b/server/src/main/java/com/defold/extender/WhitelistConfig.java index 20137bee..d45d8e23 100644 --- a/server/src/main/java/com/defold/extender/WhitelistConfig.java +++ b/server/src/main/java/com/defold/extender/WhitelistConfig.java @@ -8,7 +8,6 @@ class WhitelistConfig { public Map context = new HashMap<>(); // Used to verify C++ defines before adding them on the command line - //public Pattern defineRe = WhitelistConfig.compile(); public String defineRe = "[A-Za-z]+[A-Za-z0-9_]+=?[A-Za-z0-9_]+"; public WhitelistConfig() {