lib/sigh/runner.rb in sigh-1.10.0 vs lib/sigh/runner.rb in sigh-1.10.1
- old
+ new
@@ -161,10 +161,13 @@
if certificates.count == 0
filters = ""
filters << "Owner Name: '#{Sigh.config[:cert_owner_name]}' " if Sigh.config[:cert_owner_name]
filters << "Certificate ID: '#{Sigh.config[:cert_id]}' " if Sigh.config[:cert_id]
UI.important "No certificates for filter: #{filters}" if filters.length > 0
- UI.user_error!("Could not find a matching code signing identity for type '#{profile_type.to_s.split(':').last}'. You can use cert to generate one: \nhttps://github.com/fastlane/fastlane/tree/master/cert")
+ message = "Could not find a matching code signing identity for type '#{profile_type.to_s.split(':').last}'. "
+ message += "It is recommended to use match to manage code signing for you, more information on https://codesigning.guide."
+ message += "If you don't want to do so, you can also use cert to generate a new one: https://fastlane.tools/cert"
+ UI.user_error!(message)
end
return certificates if Sigh.config[:development] # development profiles support multiple certificates
return certificates.first
end