Watch app spins and crash, only on real device

Hello there.


I am attempting to write a simple app with Watch OS 2 beta (Build: 13S5293f), iOS 9 beta 3 and Xcode 7.0-beta3.


Currently the content of app is no more than the template created by Xcode.


The app runs fine on simulator.

On real device it can be installed without error, but is not starting. A few circles are displayed for 20~30 seconds and the app list get shown again.


I also found items like these in Xcode's device log:


Incident Identifier: 961A7AE2-A32D-4FEF-B68B-9A303033A151
CrashReporter Key:   fc1b885080eb08a7a9be274095215827a27a7992
Hardware Model:      Watch1,1
Process:             watch-demo WatchKit Extension [310]
Path:                /private/var/mobile/Containers/Bundle/Application/1698441D-EC36-4202-B4BE-32F8D0AAE097/com.example.watch-demo.watchkitapp.app/PlugIns/watch-demo WatchKit Extension.appex/watch-demo WatchKit Extension
Identifier:          com.example.watch-demo.watchkitapp.watchkitextension
Version:             1 (1.0)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2015-07-15 12:11:13.13 +0900
Launch Time:         2015-07-15 12:11:13.13 +0900
OS Version:          Watch OS 2.0 (13S5293f)
Report Version:      105

Exception Type:  EXC_BAD_ACCESS (SIGKILL - CODESIGNING)
Exception Subtype: unknown at 0x00188000
Triggered by Thread:  0

Filtered syslog:
None found

Thread 0 Crashed:
0   dyld                              0x1fe7790a 0x1fe58000 + 129290
1   dyld                              0x1fe66f9a 0x1fe58000 + 61338
2   dyld                              0x1fe6b140 0x1fe58000 + 78144
3   dyld                              0x1fe66448 0x1fe58000 + 58440
4   dyld                              0x1fe5b330 0x1fe58000 + 13104
5   dyld                              0x1fe5edb4 0x1fe58000 + 28084
6   dyld                              0x1fe5ecf2 0x1fe58000 + 27890
7   dyld                              0x1fe5eaa8 0x1fe58000 + 27304
8   dyld                              0x1fe5e6ae 0x1fe58000 + 26286
9   dyld                              0x1fe5e2c6 0x1fe58000 + 25286
10  dyld                              0x1fe5aef6 0x1fe58000 + 12022
11  dyld                              0x1fe5ac32 0x1fe58000 + 11314
12  dyld                              0x1fe5eea6 0x1fe58000 + 28326
13  dyld                              0x1fe64bc6 0x1fe58000 + 52166
14  dyld                              0x1fe64266 0x1fe58000 + 49766
15  dyld                              0x1fe5c316 0x1fe58000 + 17174
16  dyld                              0x1fe5d060 0x1fe58000 + 20576
17  dyld                              0x1fe59222 0x1fe58000 + 4642
18  dyld                              0x1fe5903c 0x1fe58000 + 4156

Thread 0 crashed with ARM Thread State (32-bit):
    r0: 0x00188000    r1: 0x001848c4      r2: 0x00000c58      r3: 0x00000001
    r4: 0x00188000    r5: 0x00000c5c      r6: 0x00000000      r7: 0x00183708
    r8: 0x001848c4    r9: 0x00000000     r10: 0x00000003     r11: 0x1fe87030
    ip: 0x0018c8c4    sp: 0x00183708      lr: 0x1fe66f9f      pc: 0x1fe7790a
  cpsr: 0x20000030

Binary Images:
0x64000 - 0x6ffff watch-demo WatchKit Extension armv7k  <e3713015c8a235c59f42bb146d59f00b> /var/mobile/Containers/Bundle/Application/1698441D-EC36-4202-B4BE-32F8D0AAE097/com.example.watch-demo.watchkitapp.app/PlugIns/watch-demo WatchKit Extension.appex/watch-demo WatchKit Extension
0x1fe58000 - 0x1fe83fff dyld armv7k  <4d1b7f36f62e37dd8356aad40bf20129> /usr/lib/dyld


Even though the code signing is suspicious, my sign keys and Provisioning Profiles seem to be fine (and Xcode is not reporting error when building for real device).


Has anyone ran into this before? Thanks for any possible hint.

I have this issue ,too. (Watch OS Beta 3 and 4) With iOS 9 Beta 3 and 4

Launch with Xcode Watch App build is find.

But open App on watch,it will show few circles for 20~30 seconds and the app list get shown again.


Strange Log

2015-07-24 22:12:55.650 PeterWatch Extension[531:26152] *********** ERROR -[SPRemoteInterface _interfaceControllerClientIDForControllerID:] clientIdentifier for interfaceControllerID:20D0002 not found

Watch App ViewController is load successful (with Xcode build).


😕

+1

Same problem. No solution found anywhere, no word from Apple of course.

Same here. 😟

If your app is written in Swift you will experience the app hanging and spinning, If your app is written in ObjC you should not.This by no means is the only reason, but this is a repeatable cause and effect with Swift/Obj C

Watch app spins and crash, only on real device
 
 
Q