无法将 iPhone 3gs(iOS 5.0.1) 与 Instruments 应用程序连接 [英] Unable to connect iPhone 3gs(iOS 5.0.1) with Instruments application

查看:14
本文介绍了无法将 iPhone 3gs(iOS 5.0.1) 与 Instruments 应用程序连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将我的 3gs(iOS 5.0.1) 设备连接到 Instruments 时,我收到此错误消息

When i am connecting my 3gs(iOS 5.0.1) device to Instruments i am getting this error message

" Failed to start Instruments daemon for 'iOS' on  iPhone 3GS (v5.0.1)' (The service is invalid.)

Please reconnect the device."

当我重新连接设备时,此消息会出现在仪器上.如何使用此设备进行性能测试.

This message appears on instruments, when ever i re-connect the device. How can i do performance testing with this device.

谢谢.

推荐答案

我在连接 iPod 4G 的情况下尝试运行 Instruments 时收到此错误消息.事实证明,我使用的是早期版本的 XCode (4.2) 中的过时版本的 Instruments.(当我在 Spotlight 中搜索 Instruments 时,只出现了这个版本,因为更高版本的 XCode 将它们的工具隐藏在 XCode.app 包中.)您的情况可能有所不同,但我怀疑您没有从 XCode 中的 Profile 命令运行 InstrumentsIDE.

I received this error message while trying to run Instruments with an iPod 4G connected. It turned out that I was using an out-of-date version of Instruments from an earlier version of XCode (4.2). (When I searched for Instruments in Spotlight, only this version appeared because later versions of XCode hide their tools inside the XCode.app package.) Your circumstances may be different but I suspect that you did not run Instruments from the Profile command in the XCode IDE.

要验证这是否是问题所在,请检查 Instruments 的版本(在关于 Instruments"中)并确认它与您的 XCode IDE 版本相同.(对我来说,它们分别是 4.2 和 4.5.)如果它们不匹配,请右键单击 Applications 文件夹中的 XCode 应用程序并选择显示包内容".在 Contents/Applications 中,您应该找到正确版本的 Instruments.

To verify if this is the problem, check the version of Instruments (in 'About Instruments') and verify that it is the same version as your XCode IDE. (For me, these were 4.2 and 4.5 respectively.) If they do not match, right-click on the XCode app in your Applications folder and select 'Show Package Contents'. In Contents/Applications, you should find the correct version of Instruments.

这篇关于无法将 iPhone 3gs(iOS 5.0.1) 与 Instruments 应用程序连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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