Prepare an Apple Watch for profiling

Before targeting an Apple Watch with Instruments, you must first prepare the Apple Watch for profiling.

  1. Ensure that your Apple Watch is paired with your development iPhone.

  2. Quit Instruments.

  3. Launch Xcode.

  4. Connect the iPhone that’s paired with your Apple Watch to your development Mac by a USB or Lightning cable.

  5. Choose Window > Devices (or press Shift-Command-2) to open the Devices window in Xcode.

  6. Wait for the iPhone to appear in the Devices list.

  7. Wait for the Apple Watch to appear as a paired device for the iPhone.

  8. Wait for Xcode to indicate that the Apple Watch has been prepared. This process may take several minutes.

  9. Disconnect the iPhone from the USB or Lightning cable.

  10. Connect the iPhone to the USB or Lightning cable again.

Once your Apple Watch has been prepared for profiling, relaunch Instruments, and the Apple Watch appears in the target device list.

Note: When profiling an Apple Watch, your development iPhone acts as a proxy, relaying information between the Apple Watch and Instruments.

SEE ALSOCreate a trace documentTarget a device and processTarget an iOS deviceEnable an iOS device for wireless profilingInstruments User Guide