Swift WCSession not reachable and counterpart app not installed (WatchConnectivity)

Viewed 18

I have an iOS app (MyApp) with a corresponding watch app (MyAppWatch). Using WatchConnectivity, I want to establish a connection between both device. Activating a WC session on both devices is succesful, but when testing the connection, something does wrong. It turns out that my session.isReachable returns false. Also, I get a message that WCSession counterpart app not installed. It may be interesting to add that session.isPaired (on iOS) returns true, so nothing seems to be wrong in the connection between the devices. I need isReachable to be true by installing the counterpart app on the watch, before being able to sendMessage(). But how? And why is this failing?

What I've tried so far:

  • Removing the app on both devices
  • Cleaning Build Folder
  • Restarting XCode
  • Adding MyAppWatch.app to the Frameworks, Libraries and Embedded content of MyApp Target
  • Enabling and disabling Supports Runnings Without iOS App Installation (MyAppWatch Target)
  • All possible combinations of this

Can someone please help fixing this, I'm struggeling for days now.

0 Answers
Related