1. 首先确保在Device,release版本下成功编译了App。
2. 在Targets下面添加一个新的Shell Script Target。
3. 将以下代码复制进去即可:
# shell script goes here
# compress application.
/bin/mkdir $CONFIGURATION_BUILD_DIR/Payload
/bin/cp -R $CONFIGURATION_BUILD_DIR/iBI.app $CONFIGURATION_BUILD_DIR/Payload
/bin/cp images/logo.png $CONFIGURATION_BUILD_DIR/iTunesArtwork
cd $CONFIGURATION_BUILD_DIR
# zip up the iBI directory
/usr/bin/zip -r iBI.ipa Payload iTunesArtwork
exit 0
网名:@"老舟"
兴趣:@"影音,阅读"
动态:@"系统架构设计,Android通信模块开发"
网址:@"http://kilonet.cnblogs.com"
签名:@"--------------------------------------------------
Stay Hungry , Stay Foolish
求 知 若 渴,处 事 若 愚
--------------------------------------------------"
]; // Never Release