../debug-to-watchos

How to Debug WatchOs App to Real WatchOS Device

If you wanted to debug your WatchOS app to your real divce (not simulator) it's pretty straightforward

  1. Connect your iPhone with your Apple Watch
  2. Turn on Developer Mode on your Apple watch device
    • On your apple watch, go to (Settings -> Privacy & Security -> Developer Mode)
    • Restart device
  3. Connect your iPhone with your Mac device
  4. Open Xcode
  5. Select WatchOs app as your build target
  6. Your Apple watch should appear in device target
  7. Just select your Apple watch device, then debug like usual

*** Note It may take a while for the first time setup, so be patient!

/swift/