[RM-672] fix a Instruments template path for Xcode 6.2

http://hipbyte.myjetbrains.com/youtrack/issue/RM-672
This commit is contained in:
Watson
2014-12-02 15:02:00 +09:00
parent ff3da5678f
commit b593172355
2 changed files with 4 additions and 1 deletions

View File

@@ -357,7 +357,8 @@ EOS
else
App.fail("Invalid Instruments template path or name.")
end
if xcode_version[0] >= '6.0'
if xcode_version[0] >= '6.0' && xcode_version[0] < '6.2'
# workaround for RM-599 and RM-672
template_path = File.expand_path("#{xcode_dir}/../Applications/Instruments.app/Contents/Resources/templates/#{template_path}.tracetemplate")
end
optional_data['XrayTemplatePath'] = template_path