[RM-832] might be better fix

This commit is contained in:
Watson
2015-03-26 19:10:12 +09:00
parent 58fddda6df
commit 3665929afd

View File

@@ -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.3'
# workaround for RM-599, RM-672 and RM-832. Xcode 6.3 beta doesn't need this workaround. complex :(
if xcode_version[0] >= '6.0' && !xcode_dir.include?("-Beta.app")
# workaround for RM-599, RM-672 and RM-832. Xcode 6.x beta doesn't need this workaround
template_path = File.expand_path("#{xcode_dir}/../Applications/Instruments.app/Contents/Resources/templates/#{template_path}.tracetemplate")
end
optional_data['XrayTemplatePath'] = template_path