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.
Can't find my Apple TV device at my Xcode Instruments tool
The problem still exists with Xcode & Instruments 13.2 (downloaded from Apple Developer Site)
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
The issue is still present in Xcode & Instruments 13.3.1 (downloaded from the App Store).
Hi! I'm running into exactly the same issue. Did you manage to solve it? Xcode and Instruments 13.4.1
After hours of investigations, those steps worked for me on this configuration :
MacBook Pro (13-inch, M1, 2020) with macOS Monterey 12.3.1
Apple TV 4K (2nd generation) with tvOS 15.6 (19M65)
Xcode 13.4.1
- Be sure Xcode and Instruments aren’t running
- Delete all
~/Library/Preferences/com.apple.dt.*.plist
files - On aTV in Settings > App Remote & Devices you forget the macOS development machine
- On development machine run
/System/Library/CoreServices/Paired Devices.app
and unpair the aTV - Open macOS Network Preferences
- If you don’t have a WiFi service available, skip to step 12
- Select the WiFi service
- Remove it with the minus button
- Click Apply (this is important)
- Add the WiFi service you previously removed with the plus (+) button at the bottom left of services list
- Click Apply (this is important)
- If you don’t have a LAN Ethernet service available, skip to step 18
- Select the LAN Ethernet service
- Remove it with the minus button
- Click Apply (this is important)
- Add the LAN Ethernet service you previously removed with the plus (+) button at the bottom left of services list
- Click Apply (this is important)
- Be sure both aTV and development machine are on the same Ethernet or WiFi network
- On development machine run
/System/Library/CoreServices/Paired Devices.app
and pair the aTV - If Paired Devices.app display any error, repeat all from step 3
- Launch Xcode then open the Devices and Simulators window, you should see the paired aTV
- Open a tvOS project then Profile