blob: a2fd663b8495888f13cef6047154d899289250c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
if [ ${XCODE_VERSION_MINOR} -gt 400 ]
then
TARGET_OUTPUT_DIR="${PROJECT_DIR}/build/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}"
mkdir -p "${TARGET_OUTPUT_DIR}"
if [ "${BUILT_PRODUCTS_DIR}" != "${TARGET_OUTPUT_DIR}" ]
then
rm -rf "${TARGET_OUTPUT_DIR}/${FULL_PRODUCT_NAME}"
rm -rf "${TARGET_OUTPUT_DIR}/${DWARF_DSYM_FILE_NAME}"
ln -s "${BUILT_PRODUCTS_DIR}/${FULL_PRODUCT_NAME}" "${TARGET_OUTPUT_DIR}/" || true
ln -s "${BUILT_PRODUCTS_DIR}/${DWARF_DSYM_FILE_NAME}" "${TARGET_OUTPUT_DIR}/" || true
fi
fi
|