Skip to content

Instantly share code, notes, and snippets.

@jweinberg
Created August 8, 2011 21:25
Show Gist options
  • Save jweinberg/1132793 to your computer and use it in GitHub Desktop.
Save jweinberg/1132793 to your computer and use it in GitHub Desktop.
xcodebuild -sdk iphonesimulator -target Keystone -configuration ${CONFIGURATION} BUILD_DIR=${BUILD_DIR} CONFIGURATION_TEMP_DIR=${CONFIGURATION_TEMP_DIR}
xcodebuild -sdk iphoneos -target Keystone -configuration ${CONFIGURATION} BUILD_DIR=${BUILD_DIR} CONFIGURATION_TEMP_DIR=${CONFIGURATION_TEMP_DIR}
mkdir -p "${BUILD_DIR}/${CONFIGURATION}-universal"
lipo \
"${BUILD_DIR}/${CONFIGURATION}-iphoneos/libKeystone.a" \
"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/libKeystone.a" \
-create -output "${BUILD_DIR}/${CONFIGURATION}-universal/libKeystone.a"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment