使用“时间分析器”时,ios – BLANK Instruments屏幕.最新版本的Xcode 6

发布时间:2020-05-29 发布网站:脚本之家
价值2580元廖雪峰前端视频终终终于免费啦!
脚本之家收集整理的这篇文章主要介绍了使用“时间分析器”时,ios – BLANK Instruments屏幕.最新版本的Xcode 6脚本之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
前几天,“时间分析器”停止工作.其他工具仍然可以工作…核心动画,分配等等.时间分析器只是一个空白屏幕.没有函数调用显示,没有图形,没有.多个项目的结果相同.

我刚刚重新安装了Xcode(自身).同样的问题.我找不到任何漂移的偏好文件,我可以删除为乐器.我真的,真的需要这个工作.我真的没有时间重新安装整个操作系统.

帮帮我

编辑:删除com.apple.dt.instruments.plist不会更改任何内容.从仪器(下方)在控制台中找到这些日志.看起来有趣的事情正在发生,可能值得向苹果提交错误.现在,问题是 – 如何将仪器的状态重新设置为应该是什么?

1/10/14 9:12:02.690 am Instruments[30211]: WebKit Threading Violation - initial use of WebKit from a secondary thread.
1/10/14 9:12:02.887 am Instruments[30211]: Invalid color System,labelColor (warning given only once)
1/10/14 9:12:04.761 am Instruments[30211]: <XRHorizontalFillSplitView: 0x6180001440a0>: the delegate <PFTTraceDocument: 0x7fda11423d90> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state:
1/10/14 9:12:04.761 am Instruments[30211]: Split view bounds: {{0,0},{1000,629}}
1/10/14 9:12:04.761 am Instruments[30211]:     Subview frame: {{0,{1232,247}}
1/10/14 9:12:04.761 am Instruments[30211]:     Subview frame: {{0,248},323}}
1/10/14 9:12:04.761 am Instruments[30211]: The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem,perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
1/10/14 9:12:04.762 am Instruments[30211]: <XRSplitView: 0x618000133240>: the delegate <PFTTraceDocument: 0x7fda11423d90> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state:
1/10/14 9:12:04.762 am Instruments[30211]: Split view bounds: {{0,323}}
1/10/14 9:12:04.762 am Instruments[30211]:     Subview frame: {{0,{972,223}}
1/10/14 9:12:04.762 am Instruments[30211]:     Subview frame: {{973,{259,223}}
1/10/14 9:12:04.763 am Instruments[30211]: The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem,perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
1/10/14 9:12:04.975 am Instruments[30211]: Unable to simultaneously satisfy constraints:
(
    "<NSAutoresizingMaskLayoutConstraint:0x61000009f810 h=-&- v=--& H:|-(22)-[NSSlider:0x6180001435a0]   (Names: '|':NSView:0x610000136760 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009f7c0 h=-&- v=--& H:[NSSlider:0x6180001435a0]-(34)-|   (Names: '|':NSView:0x610000136760 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009eeb0 h=-&- v=-&- H:|-(0)-[NSView:0x610000136760]   (Names: '|':NSClipView:0x7fda1164d0d0 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009ee60 h=-&- v=-&- H:[NSView:0x610000136760]-(0)-|   (Names: '|':NSClipView:0x7fda1164d0d0 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009ecd0 h=-&- v=-&- H:|-(0)-[NSClipView:0x7fda1164d0d0]   (Names: '|':NSScrollView:0x6180001db210 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009ec80 h=-&- v=-&- H:[NSClipView:0x7fda1164d0d0]-(0)-|   (Names: '|':NSScrollView:0x6180001db210 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009e5f0 h=-&- v=--& H:|-(0)-[NSScrollView:0x6180001db210]   (Names: '|':PFTDataViewer:0x6100001edb00 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009e5a0 h=-&- v=--& H:[NSScrollView:0x6180001db210]-(0)-|   (Names: '|':PFTDataViewer:0x6100001edb00 )>","<NSAutoresizingMaskLayoutConstraint:0x61000009dfb0 h=--& v=--& H:[PFTDataViewer:0x6100001edb00(0)]>"
)

Will attempt to recover by breaking constraint 
<NSAutoresizingMaskLayoutConstraint:0x61000009f7c0 h=-&- v=--& H:[NSSlider:0x6180001435a0]-(34)-|   (Names: '|':NSView:0x610000136760 )>

Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or,break on objc_exception_throw to catch this in the debugger.

解决方法

重新启动设备解决了这个问题.

总结

以上是脚本之家为你收集整理的使用“时间分析器”时,ios – BLANK Instruments屏幕.最新版本的Xcode 6全部内容,希望文章能够帮你解决使用“时间分析器”时,ios – BLANK Instruments屏幕.最新版本的Xcode 6所遇到的程序开发问题。

如果觉得脚本之家网站内容还不错,欢迎将脚本之家网站推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您喜欢交流学习经验,点击链接加入脚本之家官方QQ群:1065694478