0

I am not able to attach watch app process into debugger while running from iPhone app.

I am following below steps.

  1. Run iPhone app from Xcode in iPhone.
  2. Make app in background.
  3. Open watch app in apple watch.

Now I am doing Debug -> Attach to process. in that list apple watch process is not showing..

Any help?

Jay Mehta
  • 1,431
  • 19
  • 40
Susim Samanta
  • 1,605
  • 1
  • 14
  • 30

2 Answers2

0

I have only played with the Simulator (watch not arrived), but you better launch the watch app using Xcode and then open the iPhone app manually.

Xcode will only attach to one of them, so may need to debug one at a time.

Rivera
  • 10,792
  • 3
  • 58
  • 102
0

You should run the WatchKit app target from Xcode, then launch the iPhone app manually or from Xcode. Note that you can attach to the iPhone app while attached to the WatchKit app to debug both at the same time.

Luke
  • 7,110
  • 6
  • 45
  • 74