15

I created a brand new empty apple watch app in XCode 7.0 beta 3 (7A152u).

In the simulator it runs fine, however I can't get it to work on a real apple watch. The app launches but watch device is stuck on a spinning wheel loading screen and the xcode debugger says nothing about what's going on.

My apple watch runs the latest watchOS 2.0 beta, my iphone is a 5s with the latest iOS 9.0 beta.

Any idea on what is happening and how to debug this issue?

I have already tried creating a new project, cleaning the project, deleting the app on the iphone, restarting my mac, the iphone and the apple watch.

UPDATE July 28 2015:

Updating to the beta 4 (both for iOS9, watchOS2 and XCode7) didn't solve the issue. Now the app is stuck in the Installing... state in the iOS Watch app.

Niko Zarzani
  • 1,372
  • 2
  • 15
  • 28
  • it is really similiar to this issue (http://stackoverflow.com/questions/29881528/cant-install-watchkit-app-on-apple-watch) however in the iOS Watch app of my iphone the app is not stuck on installing – Niko Zarzani Jul 18 '15 at 11:05
  • Have you tried to restart the Watch? And restart bluetooth on the phone. That worked for me – Philip Aug 03 '15 at 10:22
  • Have the same problem on watchOS 2, iOS 9 and Xcode 7 beta 5... – ChikabuZ Aug 18 '15 at 11:32

4 Answers4

2

I had this problem and I'm currently experiencing it at random times.

Check out my answer to this question which may help you: Debug WatchKit on real Apple Watch - Nothing happens

The trick is to force close the app before running it again. Xcode thinks that it's not running and does not stop it or anything else. This is most likely why we don't get any error message or warning.

Community
  • 1
  • 1
BalestraPatrick
  • 9,944
  • 4
  • 30
  • 43
1

same things happens to me. look Targets -> Extention or WatchKit App Architectures -> Base Sdk iOS or watchOS 2

change to watchOS 2 same as WatchKit App target.

codaman
  • 206
  • 4
  • 6
0

I had similar problem, check if you have 7.0 in Xcode -> Preferences -> Locations -> Command Line Tools and arm64 in Standard Architectures.

ChikabuZ
  • 10,031
  • 5
  • 63
  • 86
0

Here's what worked for me:

  • Delete app from Apple Watch
  • Delete app from iPhone
  • Clean build and clean build folder
  • Close Xcode
  • Turn-off both iPhone and Apple Watch, then turn them back on
  • Open Xcode
  • Build the app again