ios – Xcode 9.3并更新到High Sierra:即使在完全重新安装后,Instruments也无法打开* .tracetemplate文件

前端之家收集整理的这篇文章主要介绍了ios – Xcode 9.3并更新到High Sierra:即使在完全重新安装后,Instruments也无法打开* .tracetemplate文件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
随着在High Sierra上运行 Xcode的最后一次更新到9.3,我意识到Instruments不再工作了.

当我尝试使用Open Developer Tool>从Xcode内部打开它时乐器,我可以看到模板选择器对话框,但是一旦我选择了一个,就会出现一个对话框:

The document "Allocations.tracetemplate" could not be opened. Instruments cannot open files of this type.

无法处理Allocations.tracetemplate,因为Instruments无法打开此类型的文件.

所有模板都会发生这种情况

我已经尝试完全重新安装Xcode.之前我删除了这里描述的所有文件How to Completely Uninstall Xcode and Clear All Settings

我也试过用
sudo chmod a rwxt /Library/Caches/com.apple.dt.instruments
(Xcode 6.3.2: Instruments keep asking for trace template?)
但是我的电脑上不存在此文件.

我还安装了Xcode 9.4 beta 1,但这也没有解决问题.

我也无法在我的计算机上找到像Allocations.tracetemplate这样的模板文件.

任何帮助将非常感激;-)

解决方法

我仍然在HD上有一些旧的开发者工具.删除了以下内容并再次起作用:

>〜/ Library / Application Support / Instruments
>我在/ Developer / Vaguely附加到Instruments的所有内容
>特别是“3.0 /仪器/
>和旧的Instruments.app

默认情况下删除终端中的com.apple.dt.Instruments

猜你在找的Xcode相关文章