2
0

build-for-i386.sh 475 B

12345678910111213141516
  1. #!/bin/sh
  2. WORKSPACE=$(eval "pwd")
  3. PROJ=wolfssl.xcodeproj
  4. CONFIG=Release
  5. SCHEME=wolfssl_ios
  6. ARCH=i386
  7. SDK=watchsimulator5.1
  8. CONF_BUILD_DIR=${WORKSPACE}/simulator
  9. xcodebuild clean build -project ${PROJ} -configuration ${CONFIG} \
  10. -scheme ${SCHEME} -arch ${ARCH} -sdk ${SDK} \
  11. BITCODE_GENERATION_MODE=bitcode \
  12. OTHER_CFLAGS="-fembed-bitcode -O3 -fomit-frame-pointer" \
  13. CONFIGURATION_BUILD_DIR=${CONF_BUILD_DIR} \
  14. -quiet