12

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

RawMean
  • 8,374
  • 6
  • 55
  • 82
  • I have had the same behavior and it has been fixed for me only after watch reset and setup from scratch. – Roman Kabachenko Aug 19 '15 at 08:28
  • 1
    did you add `arm64` architecture in valid architectures for both Extention and WatchApp. I have faced same kind of issue an resolved adding `arm64` in valid architectures. – M Zubair Shamshad Aug 19 '15 at 11:01
  • @Zubair: Brilliant! This is the right answer and fixed the problem. Please add this as an answer so that I can accept it and you get the bounty. you need to do it today before the bounty expires. – RawMean Aug 20 '15 at 02:29
  • Updating to Xcode 7 beta 6 solved the issue for me – tidbeck Aug 26 '15 at 21:06

4 Answers4

5

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.

Bhavin
  • 27,155
  • 11
  • 55
  • 94
  • Yes, of course the session has been configured and activated. It actually works fine on the simulator (which confirms that the session has been configured and activated properly). – RawMean Aug 17 '15 at 15:36
  • I was wondering why connectivity stopped working. I was due to my call to `activate` getting removed in a bad merge. Thanks for this! – Sam Soffes Aug 28 '15 at 20:48
4

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

user3820674
  • 262
  • 1
  • 6
1

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

RawMean
  • 8,374
  • 6
  • 55
  • 82
0

It now works for me, what I did:

Reset and Re-coupled the Apple Watch and added a Passcode to it (what I never did before).

Edit: You can then safely disable the Passcode and it will still work.

appleitung
  • 1,043
  • 7
  • 10