I have an Apple Watch app and works perfect on simulators (watch simulator and iPhone simulator). When I run the app on real devices, the WCSession
watchAppInstalled
property is false, but I have the application on a watch, so I can't start it from watch device.
Asked
Active
Viewed 2,142 times
0

pnuts
- 58,317
- 11
- 87
- 139

Florin Lazau
- 73
- 7
2 Answers
5
I fixed the issue by uninstalling and reinstalling the watch app. In Watch on the iPhone you select your application and switch the "Show app on Apple Watch" off then on again.
The solution was found here.

Tim Windsor Brown
- 4,069
- 5
- 25
- 33

Florin Lazau
- 73
- 7
-
Was the problem that you had not set a delegate and activated the session? – ccjensen Oct 13 '15 at 23:05
2
Before calling isWatchAppInstalled you must first
- Assign a
WCSessionDelegate
toWCSession.default.delegate
- Call
WCSession.default.activate()
Otherwise (on WatchOS 5 at least), isWatchAppInstalled
will always return false
.

Curmudgeonlybumbly
- 529
- 4
- 13