iOS开发笔记--framework合成

  • 脚本代码:

if [ "${ACTION}" = "build" ] then INSTALL_DIR=${SRCROOT}/Products/IJKMediaFramework.framework DEVICE_DIR=${BUILD_ROOT}/${CONFIGURATION}-iphoneos/IJKMediaFramework.framework SIMULATOR_DIR=${BUILD_ROOT}/${CONFIGURATION}-iphonesimulator/IJKMediaFramework.framework if [ -d "${INSTALL_DIR}" ] then rm -rf "${INSTALL_DIR}" fi mkdir -p "${INSTALL_DIR}" cp -R "${DEVICE_DIR}/" "${INSTALL_DIR}/" #ditto "${DEVICE_DIR}/Headers" "${INSTALL_DIR}/Headers" lipo -create "${DEVICE_DIR}/IJKMediaFramework" "${SIMULATOR_DIR}/IJKMediaFramework" -output "${INSTALL_DIR}/IJKMediaFramework" #open "${DEVICE_DIR}" #open "${SRCROOT}/Products" fi

  • 配置如下:

posted @ 2016-10-25 17:10  Y__ao  阅读(381)  评论(0编辑  收藏  举报