Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging on Apple Watch Never Prints to Console

I'm building a native Apple Watch app and on the simulator it will print to the console just fine, however when I run on device it never does this. Is this expected behaviour?

like image 457
William Robinson Avatar asked Jun 28 '15 15:06

William Robinson


People also ask

How do I debug my Apple Watch?

Launch your watch app from your watch (no Xcode yet!) In Xcode select the Watch Extension from the schemes, make sure your device is selected from device list, should show your phone + your Apple Watch. In Xcode, click "Debug -> Attach to process" and pick your watch extension's process.


1 Answers

If all these answers don't work:

  • Restart Watch
  • Restart iPhone
  • Restart Xcode

This did the trick for me ;)

like image 82
Appyx Avatar answered Oct 28 '22 06:10

Appyx