从X code命令行生成IPA [英] Generating ipa from xcode command-line

查看:139
本文介绍了从X code命令行生成IPA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我,用来从命令行IPA文件的最佳方法?

Whats the best approach for generating an IPA file from command-line?

我在X code 4.2以及使用存档:

I'm on xcode 4.2 and generating the archive using:

xcodebuild -scheme AppStore clean archive

这生成构建输出目录的.dSYM和的.app文件后,codesigning。我应该如何着手生成.ipa文件?换句话说,我正在寻找的命令行相当于在做GUI下面的

This generates the .dSYM and .app files in the build output directory, after codesigning. How should I proceed to generate the .ipa file? In other words, I'm looking for the command-line equivalent of doing the following in GUI


  1. 主办单位 - 档案

  2. 分享

  3. 的iOS App Store的包装

  4. 请不要重新签署

谢谢!

推荐答案

缺少的部分是使用PackageApplication实用。

The missing piece is using the PackageApplication utility.

的/ usr / bin中/ xcrun -sdk的iPhoneOS PackageApplication -v $ FULL_PATH_TO_APP -o $ OUTPUT_PATH

您也可以通过这个脚本选项辞职,和轮廓嵌入。使用 - 号 - 嵌入标记分别为

You can also pass this script options for resigning, and profile embedding. Using the --sign and --embed flags respectively.

这篇关于从X code命令行生成IPA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆