Wednesday, June 1, 2016

Why Does the Apple Watch App Fails to launch on the real hardware?

A lot of threads about this and below is my finding

First of all, the OS version on the Watch was 2.0 and the Xcode was supporting 2.1 OS version. Now, by default the Watchkit App target will be created with the Deployment target as 2.1. If forget about this and try to install the app on the hardware, it will fail to install complaining the version number. Go ahead and change it only in the Watch App deployment target to 2.0 and it will get installed successfully on the device. Now try to launch, it will keep spinning forever. Come back to the Xcode and change the deployment target of the Extension to 2.0 and again install and try to launch. Yep, That launches the app successfully with the interface controller shown.

It was just about the deployment target that caused this issue for me.

references:
http://stackoverflow.com/questions/31489920/apple-watch-app-stuck-loading-shows-a-spinning-wheel-on-real-device

No comments:

Post a Comment