Instruments 4.1对从Xcode 4.1启动的项目无响应,直到按下Cmd-Tab为止 [英] Instruments 4.1 unresponsive to projects launched from Xcode 4.1 until pressing Cmd-Tab

查看:64
本文介绍了Instruments 4.1对从Xcode 4.1启动的项目无响应,直到按下Cmd-Tab为止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我打开仪器并选择标准应用程序(例如Mail或MS Word),则没有问题. 如果我使用Xcode,然后转到产品>配置文件(或按 Cmd + I ),它将启动Instruments,允许我选择一个模板,并加载标准屏幕.然后,向下箭头将开始向右跟踪,然后iOS模拟器将启动该程序.但是,Instruments中没有任何内容.无论应用程序在做什么,它都不会显示任何更改.我无法在乐器"中单击任何内容:没有菜单,无法停止记录,无法打开标签页等.

If I open Instruments and select a standard application (e.g. Mail or MS Word) it has no issue. If I am in Xcode and I go to Product > Profile (or press Cmd + I), it launches Instruments, allows me to select a template, and loads the standard screen. Then the downward arrow starts tracing to the right as it should, and the iOS simulator launches the program. However, nothing is plotted in Instruments. It shows no changes to anything no matter what the app is doing. I can't click anything in Instruments: no menu's, can't stop recording, can't open tabs, etc.

我随机发现,如果我按下 Cmd + Tab ,乐器将开始正常工作.这对我来说真的很奇怪.在我关于如何操作仪器的知识上,要么是错误,要么是漏洞.

I randomly discovered that if I hit Cmd + Tab, Instruments will start behaving normally. This seems really strange to me. Either it's a bug or it's a hole in my knowledge about how to operate Instruments.

推荐答案

奇怪的错误已在XCode 4.2中修复! 问题是隐藏的密码对话框,所以有时它可以工作,有时却不行. 可能的解决方案之一是:

Strange bug is fixed in XCode 4.2! The problem was the hidden password dialog, so sometime it works and sometimes not. One of possible solutions was:

  1. 运行仪器
  2. Cmd制表符以Xcode覆盖所有乐器.循环并隐藏消息,直到找到密码对话框.
  3. 关闭Xcode.

PS:我知道答案的答案已经过去了几年,我只是在寻找未回答的问题.只需检查是否已回答->对我们双方都有利. )

PS: I know it is a few years to late for the answer, I was just looking for unanswered questions. Just check as answered - > it's good for both of us. )

这篇关于Instruments 4.1对从Xcode 4.1启动的项目无响应,直到按下Cmd-Tab为止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆