xCode Achive and xcodebuild command

描述:用 xcodebuild 打包ipa会比xCode5.1打包ipa要大(同时装有xCode4.6.3和xCode5.1)

试了各种办法:

1> 删除xCode4.6.3,再用xcodebuild 打包文件竟然变小了,但还是比xCode achive出来的要大。

2> 在xcodebuild后面加上选项 DEPLOYMENT_POSTPROCESSING=YES

<xcodebuild -target "$targetName" -configuration Release DEPLOYMENT_POSTPROCESSING=YES

>

 <不删除4.6.3加上 DEPLOYMENT_POSTPROCESSING=YES 不知道size 会不会一样。有机会再试试吧。>

 

猜你喜欢

转载自alanfuns.iteye.com/blog/2078448