[英]Fastlane Testflight from CircleCI
每當使用 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
有沒有我遺漏的步驟? 關於此的所有其他問題似乎已經過時。
看起來答案是我還需要提供 FASTLANE_SESSION ,而我最初沒有這樣做。 由於蘋果公司的一些小問題,它現在運行得相當好。
請確保您的 .env 文件密碼不在引號中。
確保它是這樣的:
apple_id_password=pa!@ssword
不是這樣的:
apple_id_password="pa!@ssword"
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.