From 58fddda6dfcca27e7816ae06073a96e445ada57e Mon Sep 17 00:00:00 2001 From: Watson Date: Thu, 26 Mar 2015 18:25:13 +0900 Subject: [PATCH] [RM-832] fix a Instruments template path for Xcode 6.2 stable --- lib/motion/project/xcode_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/motion/project/xcode_config.rb b/lib/motion/project/xcode_config.rb index e90334f1..f52c075f 100644 --- a/lib/motion/project/xcode_config.rb +++ b/lib/motion/project/xcode_config.rb @@ -399,8 +399,8 @@ EOS else App.fail("Invalid Instruments template path or name.") end - if xcode_version[0] >= '6.0' && xcode_version[0] < '6.2' - # workaround for RM-599 and RM-672 + if xcode_version[0] >= '6.0' && xcode_version[0] < '6.3' + # workaround for RM-599, RM-672 and RM-832. Xcode 6.3 beta doesn't need this workaround. complex :( template_path = File.expand_path("#{xcode_dir}/../Applications/Instruments.app/Contents/Resources/templates/#{template_path}.tracetemplate") end optional_data['XrayTemplatePath'] = template_path