sigh/lib/sigh/runner.rb in fastlane-2.115.0.beta.20190119200019 vs sigh/lib/sigh/runner.rb in fastlane-2.115.0.beta.20190120200101
- old
+ new
@@ -197,16 +197,19 @@
end
true
end
- unless Sigh.config[:skip_certificate_verification]
- certificates = certificates.find_all do |c|
- file = Tempfile.new('cert')
- file.write(c.download_raw)
- file.close
+ # verify certificates
+ if Helper.mac?
+ unless Sigh.config[:skip_certificate_verification]
+ certificates = certificates.find_all do |c|
+ file = Tempfile.new('cert')
+ file.write(c.download_raw)
+ file.close
- FastlaneCore::CertChecker.installed?(file.path)
+ FastlaneCore::CertChecker.installed?(file.path)
+ end
end
end
if certificates.count > 1 && !Sigh.config[:development]
UI.important("Found more than one code signing identity. Choosing the first one. Check out `fastlane sigh --help` to see all available options.")