Can't find my Apple TV device at my Xcode Instruments tool

I can use Xcode 13.1 to install/run my tvOS App on an Apple TV Device (with tvOS 15.1.1) (i.e. Xcode has paired with my Apple TV wirelessly), but the instrument tool (13.0) can't detect my Apple TV and only shows my Mac and my iPhone (which is connected via cable). Anyone has any idea whether wireless instrumentation is supported or not? If not supported, any alternative hack? Thx ahead.

  • The problem still exists with Xcode & Instruments 13.2 (downloaded from Apple Developer Site)

  • The issue is still present in Xcode & Instruments 13.3.1 (downloaded from the App Store).

Add a Comment

Replies

I have also this problem with Instruments tool in Xcode 12.4, Xcode 13.1 and Xcode 13.2.4

The device shows properly in the devices and simulators panel, and I'm able to run/debug the product.

But when I try to run a leaks analysis the template selection panel says "No device" and the Instrument document gives an "unknown" device selection

I tried to clean Developer folder cache, changing how I connect to the device (wirelessly, cable with internet sharing enabled or disabled), but nothing worked.

I am having the same issue with XCode 13.3 and TV OS 15.0 on an Apple TV 4K. If I attach it to the running process I can get the process id to show at Instruments, but the dive stays the same.

I`m having the same issue using XCode 13.3 and TV OS 15.4.1 on Apple TV 4k, Even running with the Profile scheme or using the XCode to open the instruments it opens with the running process but the device appears as .

I have made a fresh setup of macOS Big Sur, then upgraded to Monterey (12.3.1).
Still experiencing the same issue with Xcode 13.3.1 and Instruments 13.3.1 (13E500a).
As you can see in this picture the device is properly connected.
If I open Console.app and filter process with instruments, with the device identifier, I can find two messages with
AMDeviceStartSession (thread 0x16f7cf000): Could not start session with device b8e8692a880f964e92702f1da4066121c9e3252e: kAMDNotConnectedError

Hi! I'm running into exactly the same issue. Did you manage to solve it? Xcode and Instruments 13.4.1