我尝试将 IPA 文件成功上传到 Testflight,当我自动上传时,内部测试人员被添加并通知新版本应用。当我尝试添加外部组时,不添加。 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"
]
)
需要删除
skip_waiting_for_build_processing
来自 fastlane 的文档:
skip_waiting_for_build_processing 如果设置为 true, distribute_external 选项将不起作用,并且不会分发任何构建 给测试人员。 (如果你正在使用这个,你可能想使用这个选项 对 CI 采取行动,并且必须为 CI 计划中“使用的分钟数”付费)。如果 设置为 true 并提供变更日志,它将部分等待 构建出现在 AppStore Connect 上,以便可以设置变更日志, 并跳过剩余的处理步骤