mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-26 13:55:44 +08:00
fix a bug where Instruments does not launch if specify the template name with "rake profile template='xxx'"
http://hipbyte.myjetbrains.com/youtrack/issue/RM-599
This commit is contained in:
@@ -321,6 +321,9 @@ EOS
|
||||
else
|
||||
App.fail("Invalid Instruments template path or name.")
|
||||
end
|
||||
if xcode_version[0] >= '6.0'
|
||||
template_path = File.expand_path("#{xcode_dir}/../Applications/Instruments.app/Contents/Resources/templates/#{template_path}.tracetemplate")
|
||||
end
|
||||
optional_data['XrayTemplatePath'] = template_path
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user