Compile libogg for iOS using Xcode5.1 error
问题 Environment: Mac OS X 10.9.2, Xcode 5.1. Build shell scripts as below: #!/bin/sh set -xe VERSION="1.3.1" DESTDIR="libogg-built" #ARCHS="i386 x86_64 armv7 armv7s arm64" rm -rf $DESTDIR mkdir $DESTDIR if [ ! -e "libogg-$VERSION.zip" ]; then curl -LO http://downloads.xiph.org/releases/ogg/libogg-$VERSION.zip fi unzip -oq libogg-$VERSION.zip cd libogg-$VERSION ./configure for ARCH in $ARCHS; do mkdir -p ../$DESTDIR/$ARCH IOSMV="-miphoneos-version-min=4.3" case $ARCH in arm*) if [ $ARCH == "arm64"