From c8d05f2c35291a0c60f8f1a998bdd2ba06b600d9 Mon Sep 17 00:00:00 2001 From: Patrick Butkiewicz Date: Tue, 16 May 2017 01:55:12 -0400 Subject: [PATCH] Retrieving LLVM version is now backwards compatible with Xcode 7 --- lib/slather/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slather/project.rb b/lib/slather/project.rb index cbb46f5b..f5084906 100755 --- a/lib/slather/project.rb +++ b/lib/slather/project.rb @@ -236,7 +236,7 @@ def configure configure_binary_file configure_decimals - self.llvm_version = `xcrun llvm-cov --version`.match(/Apple LLVM version ([\d\.]+)/).captures[0] + self.llvm_version = `xcrun llvm-cov --version`.match(/LLVM version ([\d\.]+)/).captures[0] rescue => e puts e.message puts failure_help_string