Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect iPhone 3gs(iOS 5.0.1) with Instruments application

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.

Thanks.

like image 766
Ramakrishna Guttha Avatar asked Nov 16 '11 14:11

Ramakrishna Guttha


4 Answers

I have no idea what is causing this - but i did find a solution that worked on both devices that caused instruments pop out this message - making them unusable. I simply started Xcode's Organizer, and after Organizer reading the devices' data - both worked with instruments flawlessly.

like image 199
Sagi Antebi Avatar answered Nov 17 '22 23:11

Sagi Antebi


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.

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.

like image 34
John McFarlane Avatar answered Nov 18 '22 00:11

John McFarlane


I received this error message while trying to run instruments on with iPhone4s and 3GS. To resolve that issue I open the Xcode than select select the windows>organizer select the device and clear the Consol and device logs. After above steps instruments have detected the device.

like image 24
Yayati Avatar answered Nov 18 '22 01:11

Yayati


Cleaning the Console worked for me :)

I was automating a Hybrid app.

I did these:

  • Opened Xcode
  • Goto Window
  • Organizer
  • Under you device name goto Console.
  • Clear the the console.

Hope this helps some one.

like image 1
Rameshwar Avatar answered Nov 17 '22 23:11

Rameshwar