[英]Fastlane Match - get all provisioning profiles with a single run
当我在应用程序的项目目录中运行fastlane match
,默认情况下将使用development: true
参数执行该操作,因此仅获取开发证书和配置文件。
我必须多次运行命令以刷新所有证书和配置文件,例如:
fastlane match adhoc
fastlane match development
fastlane match appstore
有什么办法只能运行一次命令以获取上述所有内容?
在此处查看match
命令的源代码: https : //github.com/fastlane/fastlane/blob/master/match/lib/match/commands_generator.rb
您可以看到可接受的参数:
command :run do |c|
c.syntax = 'fastlane match'
c.description = Match::DESCRIPTION
FastlaneCore::CommanderGenerator.new.generate(Match::Options.available_options, command: c)
c.action do |args, options|
if args.count > 0
FastlaneCore::UI.user_error!("Please run `fastlane match [type]`,
allowed values: development, adhoc, enterprise or appstore")
end
params = FastlaneCore::Configuration.create(Match::Options.available_options, options.__hash__)
params.load_configuration_file("Matchfile")
Match::Runner.new.run(params)
end
end
为了提高可读性:
开发,临时,企业或应用程序商店
正如您提到的, 默认值为development 。
由于所有这些都不可行,因此无法提供单个参数来提取所有参数。 但是,您可以尝试以下命令作为单个命令:
fastlane match "adhoc" | fastlane match "development" | fastlane match "appstore"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.