13th
Thu
.framework を作る Run Script のサンプル
最終的に -configura
1 BUILD_DIR=${SRCROOT}/build/ 2 3 rm -rf ${BUILD_DIR} 4 5 xcodebuild-project ${PROJECT_NA ME}.xcodeproj -target ${PROJECT_NA ME} -configurat ion Debug clean build 6 7 xcodebuild -project ${PROJECT_NA ME}.xcodeproj -sdk iphonesimu lator5.1 -target ${PROJECT_NA ME} -configurat ion Debug clean build 8 9 THE_DIR=${BUILD_DIR}/${PROJECT_NA ME}.framework 10 11 mkdir -p ${THE_DIR} 12 mkdir -p ${THE_DIR}/Headers 13 mkdir -p ${THE_DIR}/Resources 14 15 lipo ${BUILD_DIR}/Debug-iphoneos/lib${PROJECT_NA ME}.a ${BUILD_DIR}/Debug-iphonesimu lator/lib${PROJECT_NA ME}.a -create -output ${THE_DIR}/${PROJECT_NA ME} 16 17 cp XXX.h ${THE_DIR}/Headers/ 18 cp XXX/XXControll er.xib ${THE_DIR}/Resources/ 19 cp Info.plist ${THE_DIR}/Resources/
posted by
Saturn
on Thu 13 Sep 2012
at 17:50