CircleCI的Fastlane Testflight

问题描述 投票:0回答:1

[我试图使用Fastlane和CircleCI在开发分支上通过测试时就上传一个Testflight构建。

一切顺利进行,直到到达这里:

Login to App Store Connect (*******************)
The login credentials for '*******************' seem to be wrong
The password was taken from the environment variable
Please make sure it is correct

我相信该密码来自我在Circle的项目设置中输入的FASTLANE_PASSWORD环境变量,该密码是我为此目的创建的应用专用密码。

使用存储在FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD中的应用专用密码在本地运行该密码就可以了。在Circle上将其设置为env var无效,似乎仅使用FASTLANE_PASSWORD。

我尝试设置upload_to_testflight(skip_waiting_for_build_processing: true),但没有更改。尝试同时设置apple_id会导致错误(此处不应定义apple ID)。

它在尝试登录之前报告说它已成功构建并签署了IPA文件。这是Fastfile通道:

desc "Push a new beta build to TestFlight"
lane :beta do
  increment_build_number(xcodeproj: "[project].xcodeproj")
  match(type: "appstore")
  build_app(workspace: "[project].xcworkspace", scheme: "[scheme]")
  upload_to_testflight(skip_waiting_for_build_processing: true)
end

我缺少一个步骤吗?关于此的所有其他问题似乎已经过时。

ios circleci fastlane fastlane-pilot
1个回答
0
投票

似乎答案是,我还需要提供FASTLANE_SESSION,而我本来没有这样做。受苹果的打扰,它现在运行良好。

© www.soinside.com 2019 - 2024. All rights reserved.