为什么快速车道匹配让我输入passsphrase,即使我已经输入

  • 本文关键字:passsphrase ios fastlane
  • 更新时间 :
  • 英文 :


现在我使用这个命令在macOS Big Sur中使用快速通道匹配生成分发证书:

fastlane match adhoc

在我运行这个命令之后,它告诉我输入Passphrase for Match storage:

[✔] 🚀
[15:03:31]: fastlane detected a Gemfile in the current directory
[15:03:31]: However, it seems like you didn't use `bundle exec`
[15:03:31]: To launch fastlane faster, please use
[15:03:31]:
[15:03:31]: $ bundle exec fastlane match adhoc
[15:03:31]:
[15:03:31]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[15:03:32]: In the config file './fastlane/Matchfile' you have the line git_url, but didn't provide any value. Make sure to append a value right after the option name. Make sure to check the docs for more information
[15:03:32]: In the config file './fastlane/Matchfile' you have the line username, but didn't provide any value. Make sure to append a value right after the option name. Make sure to check the docs for more information
[15:03:32]: Successfully loaded '/Users/dolphin/Documents/GitHub/flutter-netease-music/ios/fastlane/Matchfile' 📄
+-----------------+---------------------------+
| Detected Values from './fastlane/Matchfile' |
+-----------------+---------------------------+
| git_branch      | master                    |
| storage_mode    | git                       |
| type            | adhoc                     |
| app_identifier  | ["com.reddwarf.musicapp"] |
+-----------------+---------------------------+

+--------------------------------+---------------------------+
|                 Summary for match 2.187.0                  |
+--------------------------------+---------------------------+
| type                           | adhoc                     |
| readonly                       | false                     |
| generate_apple_certs           | true                      |
| skip_provisioning_profiles     | false                     |
| app_identifier                 | ["com.reddwarf.musicapp"] |
| username                       | 343735881@qq.com          |
| team_id                        | 6JP4P88ZJB                |
| storage_mode                   | git                       |
| git_branch                     | master                    |
| shallow_clone                  | false                     |
| clone_branch_directly          | false                     |
| keychain_name                  | login.keychain            |
| force                          | false                     |
| force_for_new_devices          | false                     |
| skip_confirmation              | false                     |
| skip_docs                      | false                     |
| platform                       | ios                       |
| derive_catalyst_app_identifier | false                     |
| fail_on_name_taken             | false                     |
| skip_certificate_matching      | false                     |
| skip_set_partition_list        | false                     |
| verbose                        | false                     |
+--------------------------------+---------------------------+
[15:03:32]: To not be asked about this value, you can specify it using 'git_url'
[15:03:32]: URL to the git repo containing all the certificates: https://github.com/jiangxiaoqiang/music-certificate.git
[15:03:45]: Cloning remote git repo...
[15:03:45]: If cloning the repo takes too long, you can use the `clone_branch_directly` option in match.
[15:03:48]: Checking out branch master...
[15:03:48]: Enter the passphrase that should be used to encrypt/decrypt your certificates
[15:03:48]: This passphrase is specific per repository and will be stored in your local keychain
[15:03:48]: Make sure to remember the password, as you'll need it when you run match on a different machine
[15:03:48]: Passphrase for Match storage: ******
[15:03:55]: Type passphrase again: ******
[15:03:59]: wrong final block length
[15:03:59]: Couldn't decrypt the repo, please make sure you enter the right password!
keychain: "/Users/dolphin/Library/Keychains/jiangxiaoqiang-db"
version: 512
class: "inet"
attributes:
0x00000007 <blob>="match_https://github.com/jiangxiaoqiang/music-certificate.git"
0x00000008 <blob>=<NULL>
"acct"<blob>=<NULL>
"atyp"<blob>="dflt"
"cdat"<timedate>=0x32303231303831383037303335395A00  "20210818070359Z00"
"crtr"<uint32>=<NULL>
"cusi"<sint32>=<NULL>
"desc"<blob>=<NULL>
"icmt"<blob>=<NULL>
"invi"<sint32>=<NULL>
"mdat"<timedate>=0x32303231303831383037303335395A00  "20210818070359Z00"
"nega"<sint32>=<NULL>
"path"<blob>=<NULL>
"port"<uint32>=0x00000000
"prot"<blob>=<NULL>
"ptcl"<uint32>=0x00000000
"scrp"<sint32>=<NULL>
"sdmn"<blob>=<NULL>
"srvr"<blob>="match_https://github.com/jiangxiaoqiang/music-certificate.git"
"type"<uint32>=<NULL>
password has been deleted.
[15:03:59]: Enter the passphrase that should be used to encrypt/decrypt your certificates
[15:03:59]: This passphrase is specific per repository and will be stored in your local keychain
[15:03:59]: Make sure to remember the password, as you'll need it when you run match on a different machine
[15:03:59]: Passphrase for Match storage:

提示中的,它告诉我为匹配存储设置一个新的Passphrase。然后显示解密失败?如何理解工作流程?我在生成开发证书时输入了Passphrase,所以无论我输入的是新的Passphrase还是相同的Passphrase,为什么仍然告诉我解密失败?我该怎么做才能成功解密?

上面说缺少git_urlusername

[15:03:32]: In the config file './fastlane/Matchfile' you have the line git_url, but didn't provide any value. Make sure to append a value right after the option name. Make sure to check the docs for more information
[15:03:32]: In the config file './fastlane/Matchfile' you have the line username, but didn't provide any value. Make sure to append a value right after the option name. Make sure to check the docs for more information

您是否为fastlane match提供了git repository?

我记得我是通过fastlane match appstore生成分发证书的。很难让它工作....

更新:

嗯,似乎我之前遇到过同样的问题....在我的笔记本上,我留下了以下评论和我搜索的链接。

https://github.com/fastlane/fastlane/issues/4020

通过命令fastlane match nuke distribution,它可以清除匹配存储库中的所有内容。然后fastlane match appstore可以重新分配一个新的passphrase密码。

脚本简介....

## Clean all
fastlane match nuke distribution
## Remake certifications / provisioning profiles, and a new passphrase password
fastlane match appstore

## No `match nuke distribution`. 
## Renew certifications / provisioning profiles, for TestFlight
fastlane match appstore

如果与CI系统(例如:Jenkins)集成,MATCH_PASSWORD环境变量对我很有帮助。

相关内容

  • 没有找到相关文章

最新更新