Fastlane iOS无法正常工作。正在获取证书和配置文件时显示克隆远程git存储库...

时间:2020-10-25 19:00:01

标签: ios git github match fastlane

我正在尝试使用Fastlane上传构建。我用于实现的视频:

https://www.youtube.com/watch?v=6Jz-Ywxki0U&t=325s

我还使用fastlane官方文档对其进行集成,以在testflight上部署应用程序。

https://docs.fastlane.tools/getting-started/ios/setup/

我还生成了一个新的SSH密钥并将其添加到ssh-agent中:

https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

这是项目文件夹结构:

enter image description here

当我运行命令时:

$fastlane match init

然后创建匹配文件。

这是匹配文件:

enter image description here

这是Fastfile:

platform :ios do

before_all do
# ---------------
  ENV["FASTLANE_USER"] = "<email-id>"
  ENV["FASTLANE_PASSWORD"] = "<correct_password>"
  ENV["FASTLANE_TEAM_NAME"] = "<Team_Name"
  ENV["FASTLANE_ITC_TEAM_NAME"] = "<Team_Name>"

# ---------------
  ENV["PRODUCE_APP_IDENTIFIER"] = "<Bundle_Identifier>"
  ENV["PRODUCE_APP_NAME"] = "FastLaneHureka3"
  ENV["PRODUCE_VERSION"] = "0.1.0"
  ENV["PRODUCE_SKU"] = "FastLaneDemo3"
  ENV["PRODUCE_PLATFORM"] = "ios"

# ---------------

  ENV["MATCH_USERNAME"] = "<email-id>"
  ENV["MATCH_PASSWORD"] = "<correct_password>"
  ENV["MATCH_KEYCHAIN_PASSWORD"] = "<correct_password>"
  ENV["MATCH_GIT_URL"] = "git@github.com:ajeetsharma16/FastlaneCertficates.git"
  ENV["MATCH_APP_IDENTIFIER"] = "<Bundle_ID>"
  ENV["MATCH_TYPE"] = "appstore"
  ENV["MATCH_PLATFORM"] = "ios"
  ENV["MATCH_VERBOSE"] = "true"

end

  desc "Create on developer portal and App Store connect"

  lane :create_app do 

  create_app_online #produce

  end

  desc "Sync signing"
  lane :signing do

match(git_private_key:"/Users/ajeetsharma/Desktop/Study/Fastlane/FastLaneDemo2/fastlane/gitHubKey", keychain_password:"qwerty", git_branch:"master")


  end

  desc "Build binary"
  lane :build do
  signing 
   
  end

  desc "Release"
  
    lane :release do
   
   build 
   
  end

end



end

使用以下命令后:

$fastlane match appstore
$fastlane match development

证书和配置文件已成功创建并保存在git存储库中。

enter image description here

当我使用此命令时:

$fastlane ios signing

然后我的终端处于这种状态:

enter image description here

此后,即使我等了30-40分钟,也没有任何反应。

但是它不起作用。 无法理解是什么问题?

0 个答案:

没有答案