xcodebuild命令行打包发布ipa

配置好证书,然后在命令行转到项目目录

1.清除

EthantekiiMac:CTest ethan$ xcodebuild clean

2.编译

EthantekiiMac:CTest ethan$ xcodebuild -target CTest -configuration Release

3.打包ipa

EthantekiiMac:CTest ethan$ xcrun -sdk iphoneos  PackageApplication -v /Volumes/work/buildCommand/test/CTest/build/Release-iphoneos/CTest.app -o /Volumes/work/buildCommand/test/CTest/CTest.ipa

 

posted @ 2014-11-03 11:24  Ethan_村长  阅读(6495)  评论(0编辑  收藏  举报