Connected iPhone is not available as a target for Instruments

Originator:armadsen
Number:rdar://23378419 Date Originated:03-Nov-2015 12:14 PM
Status:Closed Resolved:10-Nov-2015
Product:Developer Tools Product Version:Xcode 7.2 beta (7C46t)
Classification:Enhancement Reproducible:Always
 
This was resolved in Xcode 7.1.1.

Summary:
I'm unable to profile my app while it is running on a device, because the device is grayed out and unavailable in Instruments Target drop down.

Steps to Reproduce:
1. Select my device (iPhone 6 running iOS 9.1) as the run destination in Xcode.
2. Choose Product->Profile in Xcode.
3. Choose the Leaks template in the Instruments template selector window that appears.
4. Note that the record button is disabled.
5. Click on the target selector to select the connected iPhone.

Expected Results:
I can select my connected iPhone in order to profile the app running on it.

Actual Results:
I can select my Mac and my Apple Watch as targets. My iPhone is grayed out. See attached screenshot.

Regression:
This occurs in both the release version of Xcode/Instruments 7.1 on two different machines, and in Xcode/Instruments 7.2 beta 2.

Notes:
My app's primarily functionality, including that which I'm trying to profile, does not work on the simulator due to its reliance on MediaPlayer.framework.

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!