• 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

最終的に -configuration の値をマニュアルで Debug から Release に切り替える。

   1  BUILD_DIR=${SRCROOT}/build/
   2  
   3  rm -rf ${BUILD_DIR}
   4  
   5  xcodebuild -project ${PROJECT_NAME}.xcodeproj -target ${PROJECT_NAME} -configuration Debug clean build
   6  
   7  xcodebuild -project ${PROJECT_NAME}.xcodeproj -sdk iphonesimulator5.1 -target ${PROJECT_NAME} -configuration Debug clean build
   8  
   9  THE_DIR=${BUILD_DIR}/${PROJECT_NAME}.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_NAME}.a ${BUILD_DIR}/Debug-iphonesimulator/lib${PROJECT_NAME}.a -create -output ${THE_DIR}/${PROJECT_NAME}
  16  
  17  cp XXX.h ${THE_DIR}/Headers/
  18  cp XXX/XXController.xib ${THE_DIR}/Resources/
  19  cp Info.plist ${THE_DIR}/Resources/

posted by Face Saturn on Thu 13 Sep 2012 at 17:50
Contents
.framework を作る Run Script のサンプル
Comments
瀧内元気: MacOS版は以下にあります * [genki/ViMouse](https://githu... '23-1
KingofSmack: Here also good reads for this mobile applicatio... '14-5
Spencer: You don't have to re-compile it, this version w... '14-4
staiano: Any chance we can get a recompile for 10.9? '14-1
dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これ... '13-1
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ