From d0859d69de821515fce81a84105058ddfd41fb48 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 14 Nov 2014 16:38:42 -0800 Subject: [PATCH] iosbuild: add x64_64 simulator support based on the patch here: https://github.com/pixelkind/webp-ios-build (cherry picked from commit a96ccf8fdece8ea32d20406bd0c028545ec8534f) Change-Id: Iaa346b751e5f18e8cf13a8e5c4064b0c2a3f5f6c --- iosbuild.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/iosbuild.sh b/iosbuild.sh index 304c93b2..edf8225b 100755 --- a/iosbuild.sh +++ b/iosbuild.sh @@ -26,7 +26,9 @@ readonly OLDPATH=${PATH} # Add iPhoneOS-V6 to the list of platforms below if you need armv6 support. # Note that iPhoneOS-V6 support is not available with the iOS6 SDK. -readonly PLATFORMS="iPhoneSimulator iPhoneOS-V7 iPhoneOS-V7s iPhoneOS-V7-arm64" +PLATFORMS="iPhoneSimulator iPhoneSimulator64" +PLATFORMS+=" iPhoneOS-V7 iPhoneOS-V7s iPhoneOS-V7-arm64" +readonly PLATFORMS readonly SRCDIR=$(dirname $0) readonly TOPDIR=$(pwd) readonly BUILDDIR="${TOPDIR}/iosbuild" @@ -78,6 +80,9 @@ for PLATFORM in ${PLATFORMS}; do elif [[ "${PLATFORM}" == "iPhoneOS-V6" ]]; then PLATFORM="iPhoneOS" ARCH="armv6" + elif [[ "${PLATFORM}" == "iPhoneSimulator64" ]]; then + PLATFORM="iPhoneSimulator" + ARCH="x86_64" else ARCH="i386" fi