使用 Xcode 和配置门户自动化 TestFlightApp

发布于 2024-12-06 17:19:48 字数 418 浏览 2 评论 0原文

目前,在 TestFlight 中发布新版本时,我有一个相当手动的过程:

  1. 从 TestFlightApp 下载其他设备文本文件
  2. 登录到配置文件
  3. 上传设备
  4. 更新配置文件以包含新添加的设备
  5. 下载生成的 .mobileprovision 文件
  6. 单击该文件添加到 Xcode
  7. 产品 ->存档、共享、创建 IPA
  8. 在 TestFlightApp 中新建版本
  9. 输入发行说明 上传
  10. (等待)
  11. 选择要通知的测试人员

是否有脚本或实用程序可以为我处理这些步骤?我不介意解决这些步骤的一部分,只要它能减少这个过程。

另一方面,也许我正在重复不应该做的步骤,或者没有以有效的方式做事。

I currently have a fairly manual process when releasing a new build in TestFlight:

  1. Download the additional devices text files from TestFlightApp
  2. Log into the Provisioning Profile
  3. Upload devices
  4. Update the Provisioning Profile to include the newly added devices
  5. Download the generated .mobileprovision file
  6. Click on the file to add to Xcode
  7. Product -> Archive, Share, Create IPA
  8. New Build in TestFlightApp
  9. Type up the release notes
  10. Upload (wait)
  11. Select testers to notify

Are there scripts or utilities that handle these steps for me? I don't mind a solution for part of these steps, as long as it reduces this process.

On the other hand, maybe I'm repeating steps I shouldn't be, or not doing things in an efficient manner.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

旧梦荧光笔 2024-12-13 17:19:48

developmentseed.org 上有一个博客条目,其中描述了如何自动将存档构建上传到 TestFlight。

它不包括自动更新配置文件中的设备,但 MoProPro 似乎是一个用于添加新设备的命令行实用程序。

There's a blog entry on developmentseed.org where it describes how to automate an archive build to be uploaded to TestFlight.

It doesn't include automatically updating devices in the provisioning profile, but MoProPro appears to be a command line utility to add new devices.

怀里藏娇 2024-12-13 17:19:48

Jenkins 是一个带有 xcodeTestFlight。如果您有多个项目需要上传,这可以节省大量时间。设置作业后,可以通过一键式过程将应用程序交付到 TestFlight。通过我的设置,当构建完成上传到 TestFlight 时,我什至会收到一封电子邮件。

请注意,它不会解决您问题的前 6 点,但会解决其余问题。

Jenkins is a build server with plugins for xcode and TestFlight. It is a huge time saver if you have multiple projects to upload. Once the job is set up, it can be a one-click process to deliver the apps to TestFlight. With my set up, I even get a email when the build has completed the upload to TestFlight.

Note, it does not do the first 6 points of your question, but it does do the rest.

话少情深 2024-12-13 17:19:48

您见过用于 iOS 开发的 nomad CLI 工具吗?它们可以让您执行以下操作:

管理设备

$ ios devices:add "iPad 1"=abc123
$ ios devices:add "iPad 2"=def456 "iPad 3"=ghi789 ...

管理配置文件

$ ios profiles:list

+----------------------------------+--------------+---------+
| Profile                          | App ID       | Status  |
+----------------------------------+--------------+---------+
| iOS Team Provisioning Profile: * | ABCDEFG123.* | Valid   |
+----------------------------------+--------------+---------+

构建和配置通过 TestFlight 分发

$ cd /path/to/iOS Project/
$ ipa build
$ ipa distribute

还有更多!

所有示例均取自 nomad 文档。

Have you seen the nomad CLI tools for iOS development? They let you do things like:

Manage Devices

$ ios devices:add "iPad 1"=abc123
$ ios devices:add "iPad 2"=def456 "iPad 3"=ghi789 ...

Manage Provisioning Profiles

$ ios profiles:list

+----------------------------------+--------------+---------+
| Profile                          | App ID       | Status  |
+----------------------------------+--------------+---------+
| iOS Team Provisioning Profile: * | ABCDEFG123.* | Valid   |
+----------------------------------+--------------+---------+

Build & Distribute through TestFlight

$ cd /path/to/iOS Project/
$ ipa build
$ ipa distribute

And more!

All examples taken from the nomad documentation.

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