Skip to content

Instantly share code, notes, and snippets.

View creaaa's full-sized avatar

crea creaaa

  • Fukuoka, JP
View GitHub Profile
#!/bin/sh
lipo -info "${PROJECT_DIR}/${PROJECT_NAME}.framework/${PROJECT_NAME}"
#!/bin/sh
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${CONFIGURATION}-universal
# make sure the output directory exists
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"
# Step 1. Build Device and Simulator versions
xcodebuild -target "${PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${CONFIGURATION} -sdk iphoneos BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" clean build