使用 xcode 使用脚本生成许多二进制文件

发布于 2024-12-27 00:46:46 字数 375 浏览 4 评论 0原文

我有一个项目需要生成许多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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

み青杉依旧 2025-01-03 00:46:46

请参阅命令行中的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文