使用 xcode 使用脚本生成许多二进制文件
我有一个项目需要生成许多iPhone应用程序,但它们都有不同的名称、图标等。
它将共享相同的代码,但会部署在不同的项目名称下。
例如:
The project: editions =>
Mag1_editions (com.foo.mag1_editions),
Mag2_editions (com.foo.mag2_editions),
我想将其放入脚本中,这样我就可以执行一次,所有二进制文件都将存档在组织器中,准备发布。
我尝试过 target、xcodebuild、scheme、build settings,但它们都不适合我的需要。
任何想法将不胜感激。
I have a project that I need to generate many iPhone apps, but they all with different name, icons, etc.
It will share the same code based but it will be deploy under different project name.
For example:
The project: editions =>
Mag1_editions (com.foo.mag1_editions),
Mag2_editions (com.foo.mag2_editions),
I would like put this into script, so I can execute once and all the binary will be archive in organizer ready to be published.
I have tried target, xcodebuild, scheme, build settings, but none of them works for my need.
Any idea would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅命令行中的 Xcode“构建和存档”。另请阅读高评价答案链接的博客文章。它应该包括您需要的一切。今天早上我刚刚构建了一个非常相似的脚本。
See Xcode "Build and Archive" from command line. Also read the blog post the highly-rated answer links to. It should include everything you need. I just built a very similar script this morning.