可以fastlane match [environment]
(不使用 --readonly 标志)可能会撤销证书,或者只影响配置文件?我看过official docs ,但我不太清楚证书是否受此命令影响。
我不想撤销 Apple 开发人员中心中的任何现有证书,因为我们有多个企业应用程序同时使用这两个证书。
最佳答案
单独运行 faSTLane match [environment]
命令不会撤销您的任何证书。
您必须将 nuke
添加到命令中才能撤销证书和配置文件。
下面的代码是taken from here :
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
nuke
参数是 documented here在您的答案中链接到的页面上。
您还可以通过其源文件 found here 查看 nuke
参数的作用。 .
关于ios - faSTLane 匹配命令是否可能吊销证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54707897/