Fastlane TestFlight分发给外部用户

发布于 2025-01-27 10:06:41 字数 650 浏览 2 评论 0原文

我尝试将IPA文件上传到成功中,并在上传时自动添加内部测试仪并通知应用的新版本。当我尝试添加外部组时,请不添加。 Fastlane没有错误。这是我的车道。谢谢!

 desc "Upload to Testflight"
    lane :testflight_track do
       app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
       api_key = lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
       upload_to_testflight(
       api_key: api_key,
       app_identifier: app_identifier,
       ipa:"ipaname",
       changelog: "testnotes",
       distribute_external: true,
       skip_waiting_for_build_processing: true,
       groups: [
           "Internal Users",
           "External Users"
       ]
    )

I tried to upload the IPA file to Testflight with success and when I uploaded it automatically Internal testers are added and notified of the new version applied.When I tried to add external groups stand not added. There are no errors from Fastlane. Here is my lane. Thanks!

 desc "Upload to Testflight"
    lane :testflight_track do
       app_identifier = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
       api_key = lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
       upload_to_testflight(
       api_key: api_key,
       app_identifier: app_identifier,
       ipa:"ipaname",
       changelog: "testnotes",
       distribute_external: true,
       skip_waiting_for_build_processing: true,
       groups: [
           "Internal Users",
           "External Users"
       ]
    )

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

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

发布评论

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

评论(1

愁杀 2025-02-03 10:06:41

需要删除skip_waiting_for_build_processing

skip_waiting_for_build_processing如果设置为true,
distribute_external选项无法正常工作,不会分发构建
致测试人员。 (如果您使用的话,您可能需要使用此选项
对CI采取行动,必须在CI计划上付费“分钟”)。如果
设置为true,并提供一个更改的记录,它将部分等待
出现在AppStore Connect上的构建可以设置ChangElog,
并跳过剩余的处理步骤

need to remove skip_waiting_for_build_processing

Documentation from fastlane:

skip_waiting_for_build_processing If set to true, the
distribute_external option won't work and no build will be distributed
to testers. (You might want to use this option if you are using this
action on CI and have to pay for 'minutes used' on your CI plan). If
set to true and a changelog is provided, it will partially wait for
the build to appear on AppStore Connect so the changelog can be set,
and skip the remaining processing steps

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