Instruments application can't open tracetemplate file

血红的双手。 提交于 2019-12-07 07:01:09

问题


When I open "Instruments" application and try choose any template for my simulator (Time Profiler or any other) I get "Import Trace" window with all possible tracetemplates files from '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Resources/templates' directory. Then I choose any one and after it I get alert message 'The document “Time Profiler.tracetemplate” could not be opened.' But in command line instruments works correct. How can I find reasons of such behaviour?

Also from console application logs I get: "appleeventsd(62) deny file-read-metadata /Library"


回答1:


Found a solution in the new Apple Developer Forums.

Run this from a terminal:

sudo chmod a+rwxt /Library/Caches/com.apple.dt.instruments

https://forums.developer.apple.com/thread/6441 for more info.




回答2:


Removing this folder helped me .

/Library/Application Support/Instruments 


来源:https://stackoverflow.com/questions/29914660/instruments-application-cant-open-tracetemplate-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!