From 7d405492b09fa27546caaa989b8493829365deab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Tue, 1 Dec 2015 20:27:43 +0100 Subject: [PATCH] Fix for #13 --- usage_examples/ios_toolchain/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usage_examples/ios_toolchain/build.sh b/usage_examples/ios_toolchain/build.sh index 55984c20..156c21fc 100755 --- a/usage_examples/ios_toolchain/build.sh +++ b/usage_examples/ios_toolchain/build.sh @@ -65,9 +65,9 @@ if [ -z "$SDK_VERSION" ]; then exit 1 fi extract $1 -SYSLIB=$(find $SDKDIR -name "libSystem.dylib" | head -n1) +SYSLIB=$(find $SDKDIR -name libSystem.dylib -o -name libSystem.tbd | head -n1) if [ -z "$SYSLIB" ]; then - echo "SDK should contain libSystem.dylib" 1>&2 + echo "SDK should contain libSystem{.dylib,.tbd}" 1>&2 exit 1 fi SYSROOT="$(dirname $SYSLIB)/../.."