WatchConnectivity on iPhone & # 8594; Watch direction

I'm trying to make WCSession (Xcode 7.0 beta 5) work in Phone โ†’ Watch mode on real devices (it works fine in the simulator), but every time you get an error:

Error: "Domain = WCErrorDomain Code = 7006 The application for viewing was not installed."

I mean that everything works in Watch โ†’ Phone mode (sendMessage :, updateApplicationContext :, CoreLocation, etc.). To eliminate code-related issues, I use the Apple Potloc app for tests.

It seems I tried everything and here is the complete list:

  • Paired / unpaired watches.
  • Reboot iPhone / Watch.
  • Reset Clock.
  • Reset iPhone (reset all settings).
  • Reinstalled iPhone / Watch applications several times.
  • Turn on / off โ€œShow app on Apple Watchโ€ in โ€œMy watchโ€ app on iPhone.

The only way iPhone can interact with Watch is to answer using a callback in WCSession methods.

What else can I do?

+6
source share
2 answers

As expected, the problem is resolved in Xcode 7.0 beta6. The project has just been rebuilt without any additional configuration, and then item 6 from my list above solved the problem:

  1. Turn on / off โ€œShow app on Apple Watchโ€ in โ€œMy watchโ€ app on iPhone.
+9
source

It looks like this: WatchOS 2 (beta 5): watchAppInstalled returns false

Have you followed "isWatchAppInstalled"? If so, answered YES or NO?

Perhaps the other solutions mentioned there work for you?

+1
source

All Articles