mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-28 20:55:36 +08:00
[RM-672] fix a Instruments template path for Xcode 6.2
http://hipbyte.myjetbrains.com/youtrack/issue/RM-672
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user