IOS自动化打包

以下大家友情支持一下:

做了一个产品,需要人气支持一下,android和iphone上91市场搜索#super junior粉丝团#,或者直接到页面下载http://m.ixingji.com/m.html?p=X16,大家帮忙捧捧场。


1。iphone自动打包
http://3426724.blog.51cto.com/3416724/883484
http://www.cocoachina.com/bbs/read.php?tid=21237
2。IOS自动化打包介绍  
http://stblog.baidu-tech.com/?p=1295
3。新年送大家一个好东西,放上一个自动打包各种渠道的shell
http://www.cnblogs.com/xingchen/archive/2012/01/30/2331917.html
4。How to re-sign the ipa file?
http://stackoverflow.com/questions/5160863/how-to-re-sign-the-ipa-file
5。RESIGN AN IPHONE APP, INSERT NEW BUNDLE ID AND SEND TO XCODE ORGANIZER FOR UPLOAD
http://www.ketzler.de/2011/01/resign-an-iphone-app-insert-new-bundle-id-and-send-to-xcode-organizer-for-upload/
6。re-signing-an-ios-app-without-xcode
http://floatlearning.com/2011/11/re-signing-an-ios-app-without-xcode/
7.xcodebuild命令官方文档
https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/xcodebuild.1.html
8.自动化打包
http://www.cnblogs.com/ace9/archive/2012/08/31/2664920.html

编译终于成功,中间遇到问题。万恶的坑爹,花了一下午找问题。终于。。。是通过3)搞定的

codesign_allocate: object:  
object file format unrecognized, invalid, or unsuitable
搜索网上基本解决方案如下:

1。重新定位CODESIGN_ALLOCATE

方法1:

export CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate

方法2:

sudo mv /usr/bin/codesign_allocate /usr/bin/codesign_allocate_old
sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate /usr/bin

2。执行文件和程序名(不是显示名)一直名字一致

Make sure the 'Executable Name' (CFBundleExecutable) entry in your target's info.plist matches the 'Product Name' specified in your target settings.

3。把 xcode command line tools 升级到最新。

After fiddling with it, I found a solution. I updated by xcode command line tools and ran xcrun without explicitly naming its path (I was running usr/bin/xcrun before) some combination of these two things fixed it for me. –

 

你可能感兴趣的:(IOS自动化打包)