Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WatchOS 2 (beta 5): watchAppInstalled returns false

The Watch App is installed on the watch and I can tap and run it on the Watch, but watchAppInstalled method returns false.

Also, I can only install the Watch App using Xcode 7. If I try to install the Watch App using the Watch iOS app (from Apple) by turning on the switch, the Watch App gets deleted right after the installation completes.

Update: This bug is fixed in Xcode 7 beta 6

like image 442
RawMean Avatar asked Aug 09 '15 20:08

RawMean


3 Answers

Apple Documentation says:

The session must be configured and activated before accessing this property.

So, you should configure and activate the session before using this property.

like image 159
Bhavin Avatar answered Nov 15 '22 16:11

Bhavin


I had same issue.

I just add WatchConnectivity.framework to my main app target and watch extension target. And it works now.

Hope i helped.

Cheers.

Update: i read comments above and check my architecture: already had arm64

like image 39
user3820674 Avatar answered Nov 15 '22 14:11

user3820674


What worked for me was adding the arm64 architecture to both the Watch app and iOS app as @Zubair suggested.

Update: This bug is fixed in Xcode 7, beta 6

like image 40
RawMean Avatar answered Nov 15 '22 14:11

RawMean