Xcode 4.1 工具对我来说几乎不起作用
仪器过去工作得很好,但是现在我在 Lion 上安装了新的 4.1 Xcode,速度非常慢,我必须等待大约 5 分钟。它是有反应的。还有其他人有同样的问题吗?我也在用iOS模拟器。
我已经尝试过重新安装和卸载 Xcode 几次。
Possible Duplicate:
Bug with starting Instruments via Profile under XCode 4.1 Build 4B110
Instruments used to work fine, however now that I have the new 4.1 Xcode on Lion, it is extremely slow and I have to wait about 5 min before it is responsive. Is anyone else having this same problem? I am using iOS simulator too.
I have already tried reinstalling and uninstalling Xcode a few times as well.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
/etc/authorization,添加以下内容:
/etc/authorization, add following:
尝试单独启动 Instruments,而不是使用 XCode 中的 Profile 构建选项。您应该能够在模拟器中运行您的应用程序,然后打开 Instruments,选择 Leaks,然后选择您的应用程序作为 Instruments 中的目标(在“系统”部分中选择目标、附加到进程)。
希望苹果能解决这个问题,但你至少应该能够检查是否有这样的泄漏。
[更新]
我这样做时遇到了一些奇怪的泄漏,所以,我不确定它是否完全有效或者只是我。
Try launching Instruments separately, instead of using the Profile build option in XCode. You should be able to run your app in Simulator, then open Instruments, select Leaks, and then choose your app as the Target in Instruments (Choose Target, Attach to Process, in the System section).
Hopefully, this is something that will be fixed by Apple, but you should be able to at least check for leaks like this.
[UPDATE]
I'm getting some weird leaks doing this, so, I'm not sure if it's completely working or just me.
我尝试了运行 iApp,然后选择 Instruments 的方法。当我尝试启动 Instruments 时,iOS 模拟器退出了。
I tried the approach of running my iApp, then selecting Instruments. When I tried to then start up Instruments, the iOS Simulator quit.