iOS开发之自定义封装FrameWork需要的代码
来源:互联网 发布:文件夹恢复软件 编辑:程序博客网 时间:2024/06/07 00:29
# Sets the target folders and the final framework product.
# 如果工程名称和Framework的Target名称不一样的话,要自定义FMKNAME
# 例如: FMK_NAME = "MyFramework"
FMK_NAME=frameworking
# Install dir will be the final output to the framework.
# The following line create it in the root folder of the current project.
INSTALL_DIR=${SRCROOT}/Products/${FMK_NAME}.framework
# Working dir will be deleted after the framework creation.
WRK_DIR=build
DEVICE_DIR=${WRK_DIR}/Release-iphoneos/${FMK_NAME}.framework
SIMULATOR_DIR=${WRK_DIR}/Release-iphonesimulator/${FMK_NAME}.framework
# -configuration ${CONFIGURATION}
# Clean and Building both architectures.
xcodebuild -configuration "Release" -target "${FMK_NAME}" -sdk iphoneos clean build
xcodebuild -configuration "Release" -target "${FMK_NAME}" -sdk iphonesimulator clean build
# Cleaning the oldest.
if [ -d "${INSTALL_DIR}" ]
then
rm -rf "${INSTALL_DIR}"
fi
mkdir -p "${INSTALL_DIR}"
cp -R "${DEVICE_DIR}/""${INSTALL_DIR}/"
# Uses the Lipo Tool to merge both binary files (i386 + armv6/armv7) into one Universal final product.
lipo -create "${DEVICE_DIR}/${FMK_NAME}""${SIMULATOR_DIR}/${FMK_NAME}" -output"${INSTALL_DIR}/${FMK_NAME}"
rm -r "${WRK_DIR}"
open "${INSTALL_DIR}"
- iOS开发之自定义封装FrameWork需要的代码
- iOS 开发 自定义 framework
- iOS开发UITableView 之代码自定义cell的步骤
- iOS开发之NewsstandKit.framework的使用
- iOS之开发的SDK(.framework)瘦身
- iOS开发之代码调用自定义tableView
- iOS 开发之封装
- 献给初学iOS的小盆友们——微博app项目开发之八封装代码
- iOS开发-封装自定义的结构体对象
- iOS开发之framework制作
- iOS开发之制作framework
- iOS开发之制作framework
- iOS .framework静态库的封装
- iOS开发:自定义framework并打包
- iOS开发:自定义framework并打包
- iOS开发:自定义framework并打包
- iOS 封装framework
- 开发中用到的自定义封装工具类之三
- dataTable一些使用方法
- Android圆形头像CircleImageView
- 好的Android开源项目
- postgres 通过 psql 来创建用户、数据库等操作
- hdoj-1532-edmondsKarp最大流算法模板
- iOS开发之自定义封装FrameWork需要的代码
- Android BLE Gatt Error
- java 遍历Map对象的方法
- 【HttpClient4.5中文教程】【第三章 :状态管理】3.1---3.6 Cookie相关
- 什么是jQuery
- 客户端注册表卸载方法
- HTTP服务端接口模拟工具-HttpServerMockTool
- iOS代码实现常用控件之Slider 文字缩放
- spring+springmvc+mybatis详细运转流程