Instruments does not work on a device

Originator:info
Number:rdar://23550263 Date Originated:15-Nov-2015 10:20 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 7.1.1 (7B1005) / iOS 9.1
Classification:Serious Bug Reproducible:Always
 
Summary:
When trying to profile on my device, Instruments shows the message “This device is not currently online”.

Steps to Reproduce:
- Plug in a device running iOS 9.1.
- Click on Product -> Profile.
- Select “Time Profiler”

Expected Results:
- The device is connected, so upon clicking on the “record” button I should be able to profile my app on the device.

Actual Results:
- Instruments shows the message “This device is not currently online”, so I can’t do anything.

Regression:
- This had been working until Xcode 7.1. Profiling on the simulator works too, but I need to do it on a device!

Notes:
- I’ve followed all the workarounds in https://forums.developer.apple.com/thread/16242 (restarting Xcode and the device, etc.), but nothing has worked. 

If I manually launch Instruments and select my device from the list of devices I’m presented with the prompt “Enable this device for development? This will open Xcode and enable this device for development”. Tapping on yes launches Xcode but nothing happens, and Console.app shows the following message, without further details:
11/15/15 10:11:40.292 Xcode[60346]: AMDeviceSetValue (thread 0x700000081000): Could not set [com.apple.xcode.developerdomain, DeveloperStatus] to value 'Development': 0xe8000017.

Note that my device IS enabled for development: I can _run_ (not profile) the app on it just fine. Also, the device looks functional in Xcode -> Window -> Devices. There are no “warning” signs or anything like that.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!