Ios fastlane match命令是否可能吊销证书
Ios fastlane match命令是否可能吊销证书,ios,fastlane,fastlane-match,Ios,Fastlane,Fastlane Match,fastlane是否可以匹配[environment](不使用--readonly标志)潜在地吊销证书,或者仅影响配置文件?我已经查看了,但是我并不清楚证书是否受此命令的影响 我不想撤销Apple Developer Center中的任何现有证书,因为我们有多个企业应用程序同时使用这两个证书。单独运行fastlane match[environment]命令不会撤销您的任何证书 您必须在命令中添加nuke,以撤销证书和配置文件 以下代码为: nuke参数位于您在答案中链接的页面上 您还可以查看n
fastlane是否可以匹配[environment]
(不使用--readonly标志)潜在地吊销证书,或者仅影响配置文件?我已经查看了,但是我并不清楚证书是否受此命令的影响
我不想撤销Apple Developer Center中的任何现有证书,因为我们有多个企业应用程序同时使用这两个证书。单独运行
fastlane match[environment]
命令不会撤销您的任何证书
您必须在命令中添加nuke
,以撤销证书和配置文件
以下代码为:
nuke
参数位于您在答案中链接的页面上
您还可以查看
nuke
参数通过其源文件执行的操作。因此,使用不带nuke的match只会影响配置文件(如有必要,生成新的配置文件)。签名证书将不受影响。这是我所期望的,但只是需要确定一下。谢谢@oyvindhauge没问题,这是你不想出错的事情。
command "nuke" do |c|
# We have this empty command here, since otherwise the normal `match` command will be executed
c.syntax = "fastlane match nuke"
c.description = "Delete all certificates and provisioning profiles from the Apple Dev Portal"
c.action do |args, options|
FastlaneCore::UI.user_error!("Please run `fastlane match nuke [type], allowed values: development, distribution and enterprise. For the 'adhoc' type, please use 'distribution' instead.")
end
end
["development", "distribution", "enterprise"].each do |type|
command "nuke #{type}" do |c|
c.syntax = "fastlane match nuke #{type}"
c.description = "Delete all certificates and provisioning profiles from the Apple Dev Portal of the type #{type}"
FastlaneCore::CommanderGenerator.new.generate(Match::Options.available_options, command: c)
c.action do |args, options|
params = FastlaneCore::Configuration.create(Match::Options.available_options, options.__hash__)
params.load_configuration_file("Matchfile")
Match::Nuke.new.run(params, type: type.to_s)
end
end
end