ios – Swift WCSession not reachable and counterpart app not put in (WatchConnectivity)


I’ve an iOS app (MyApp) with a corresponding watch app (MyAppWatch). Utilizing WatchConnectivity, I need to set up a connection between each gadget. Activating a WC session on each units is succesful, however when testing the connection, one thing does flawed. It seems that my session.isReachable returns false. Additionally, I get a message that WCSession counterpart app not put in. It might be fascinating so as to add that session.isPaired (on iOS) returns true, so nothing appears to be flawed within the connection between the units. I would like isReachable to be true by putting in the counterpart app on the watch, earlier than having the ability to sendMessage(). However how? And why is that this failing?

What I’ve tried thus far:

  • Eradicating the app on each units
  • Cleansing Construct Folder
  • Restarting XCode
  • Including MyAppWatch.app to the Frameworks, Libraries and Embedded content material of MyApp Goal
  • Enabling and disabling Helps Runnings With out iOS App Set up (MyAppWatch Goal)
  • All doable combos of this

Can somebody please assist fixing this, I am struggeling for days now.

Leave a Reply