Skip to content

Instantly share code, notes, and snippets.

@marcin-maciukiewicz
Created April 6, 2010 23:14
Show Gist options
  • Save marcin-maciukiewicz/358256 to your computer and use it in GitHub Desktop.
Save marcin-maciukiewicz/358256 to your computer and use it in GitHub Desktop.
FRAMEWORK="${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.framework"
lipo \
"${BUILD_DIR}/${CONFIGURATION}-iphoneos/lib${PRODUCT_NAME}-iPhone.a" \
"${BUILD_DIR}/${CONFIGURATION}-iphonesimulator/lib${PRODUCT_NAME}-iPhoneSimulator.a" \
-create -output "${FRAMEWORK}/Versions/Current/${PRODUCT_NAME}"
cd "${FRAMEWORK}" && ln -sf "Versions/Current/${PRODUCT_NAME}" ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment