Hi!
I am issuing a problem, which seams to be happen randomly. Usually tapping on notification action button on my notification's dynamic interface on watch fires this on my watch's delegate:
- (void) handleActionWithIdentifier: (NSString*) identifier
forLocalNotification: (UILocalNotification*) localNotification {
//handle action here..
}
But sometimes it is not fired with the following log:
Sep 29 13:22:13 MyWatch iap2d[177] <Warning>: process com.myapp.watchkitapp is now running in the background
Sep 29 13:22:13 MyWatch Carousel[30] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Sep 29 13:22:13 MyWatch Carousel[30] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Sep 29 13:22:13 MyWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DISABLE voice trigger - Reason: Backlight turned on)
Sep 29 13:22:13 MyWatch iap2d[177] <Warning>: process com.myapp.watchkitapp is now running the foreground
Sep 29 13:22:13 MyWatch pkd[118] <Warning>: assigning plug-in com.myapp.watchkitapp.watchkitextension(3.8) to plugin sandbox
Sep 29 13:22:13 MyWatch pkd[118] <Warning>: enabling pid=92 for plug-in com.myapp.watchkitapp.watchkitextension(3.8) FCC2A72D-F729-4510-9260-85243A662516 /private/var/mobile/Containers/Bundle/Application/5E59D89D-55C6-4587-A120-7A3A8CC40051/MyApp.app/PlugIns/MyApp Extension.appex
Sep 29 13:22:14 MyWatch kernel[0] <Notice>: xpcproxy[188] Container: /private/var/mobile/Containers/Data/PluginKitPlugin/156E276A-CA06-4F9C-8D3C-AEED910F2ACD (sandbox)
Sep 29 13:22:14 MyWatch MyApp[187] <Warning>: Got notification url. Will pass notification ID "169571ac:e727747f:465214927.393453" and actionItemID "EXTEND_ACTION_IDENTIFIER" to app extension
Sep 29 13:22:15 MyWatch iap2d[177] <Warning>: process com.myapp.watchkitapp.watchkitextension is now running the foreground
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Warning>: applicationDidFinishLaunching
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Warning>: applicationDidBecomeActive
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Notice>: (Error) WatchKit: ComF: -[SPRemoteInterface _interfaceControllerWithID:] interfaceController for interfaceControllerID:BB0002 not found (clientIdentifier=(null))
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Notice>: (Error) WatchKit: ComF: -[SPRemoteInterface _interfaceControllerWithID:] interfaceController for interfaceControllerID:BB0002 not found (clientIdentifier=(null))
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Notice>: (Error) WatchKit: <SPRemoteInterface.m -[SPRemoteInterface _handleAction:forNotification:remoteNotificationContext:localNotification:handler:controller:]:2825> called but remoteNotification and localNotification are both nil. This shouldn't have happened
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Warning>: splash awakeWithContext
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Warning>: splash will activate
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Warning>: *********** ERROR -[SPRemoteInterface _interfaceControllerClientIDForControllerID:] clientIdentifier for interfaceControllerID:(null) not found
Sep 29 13:22:15 MyWatch MyApp Extension[188] <Notice>: (Error) WatchKit: ComF:<-Plugin -[SPRemoteInterface didFinishHandlingActivity:] controller ID (null) (object:(null)) has no client identifier
Sep 29 13:22:23 MyWatch gizmoappd[92] <Error>: 0x1f21c000 -[ACXSocket invalidate]: shutdown on socket 5 returned Socket is not connected
Sep 29 13:22:23 MyWatch gizmoappd[92] <Notice>: 0x1f21c000 -[ACXInstallerReceiver _reset]: Resetting state
The main problem line seams to be:
(Error) WatchKit: <SPRemoteInterface.m -[SPRemoteInterface _handleAction:forNotification:remoteNotificationContext:localNotification:handler:controller:]:2825> called but remoteNotification and localNotification are both nil. This shouldn't have happened
But I have no idea, what is causing this. Is there someone else who has been experiencing the issue?