ios - Why does my WatchKit extension cause a "Waiting to attach" message on an actual Apple Watch but not in a simulator? -


i have published ios app , trying add watchkit extension it.

for now, have watch interface.storyboard single label verify entire building process. app runs fine on simulator (iphone 6 (8.3)) , watch simulator.

when run on iphone , apple watch, runs on iphone, installs on apple watch, displays wait status when trying run on apple watch.

the error in xcode says "waiting attach", , when try attach via xcode > debug > attach process, says "lost connection iphone".

i using xcode 6.3.1.

the waiting attach message bothering many people. here few things can do:

  • build main iphone app first, stop , build watchkit app
  • wait time attachment finish (it can take 20 seconds or so)
  • i found tapping app icon on apple watch helps re-establish lost connection. after tapping app icon, app starts update. tap on apple watch app after message waiting attachappears.
  • if waiting not help, stop processes (make sure stop button in xcode becomes gray) , build , run code again
  • sometimes, restarting xcode helps solve problems
  • force-quit app on apple watch explained here
  • if still not help, deinstall , reinstall watchkit extension using apple watchapp on iphone

other things try:

  • clean project
  • uninstall , re-install watch app using apple watchapp on iphone
  • delete iphone app device
  • delete/recreate target scheme
  • in watchkit app target settings, set "skip install" no

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -