Xcode wont run WatchKit App

Hey guys,


I cannot debug my WatchKit App via Xcode, it is constantley stuck at loading screen. When I remove my app in the Watch App on my Phone and then install the WatchApp again the app starts.


Device logs:


Dec  3 12:00:54 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 62078
Dec  3 12:01:05 My-AppleWatch streaming_zip_conduit[154] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x17d9e450> appid.watchkitapp <(null) *Not found in database*>
Dec  3 12:01:05 My-AppleWatch streaming_zip_conduit[154] <Warning>: LaunchServices: Not creating progress for <LSApplicationProxy: 0x17d9e450> appid.watchkitapp <(null) *Not found in database*> since it is not a placeholder.
Dec  3 12:01:05 My-AppleWatch installd[35] <Notice>: 0x1f124000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/WatchGRT WatchKit App.app" type Developer requested by streaming_zip_conduit (pid 154)
Dec  3 12:01:05 My-AppleWatch pkd[112] <Warning>: UNINSTALLED:appid.watchkitapp.watchkitextension appid.watchkitapp.watchkitextension(1.0) 3C3B01E0-D84C-4C96-BA43-A2177E4DB4BC /private/var/mobile/Containers/Bundle/Application/D224F39D-F8A6-4721-9C04-D78C15441570/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:01:05 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now running the foreground
Dec  3 12:01:06 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=appid.watchkitapp; Version=1, ShortVersion=1.0>
Dec  3 12:01:06 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: -[SPGizmoAppServer notifyProvisioningProfilesChanged:removed:]
Dec  3 12:01:06 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Provisioning profiles changed
Dec  3 12:01:06 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Updating MIS trust...
Dec  3 12:01:06 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: -[SPGizmoAppServer notifyProvisioningProfilesChanged:removed:]
Dec  3 12:01:06 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Provisioning profiles changed
Dec  3 12:01:06 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Updating MIS trust...
Dec  3 12:01:06 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:06 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:06 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:06 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:06 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:07 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:07 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:07 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:07 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:07 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for appid.watchkitapp is now at /private/var/mobile/Containers/Data/Application/A740709A-07A9-46B1-A5BC-620DEAEBD48F
Dec  3 12:01:07 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for appid.watchkitapp.watchkitextension is now at /private/var/mobile/Containers/Data/PluginKitPlugin/D358DA33-87ED-468B-A8C9-B86262F92CCD
Dec  3 12:01:07 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for appid.watchkitapp at /private/var/mobile/Containers/Bundle/Application/42937A03-7452-473B-A4D7-1FB395D9AE81
Dec  3 12:01:08 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.04s; Waiting: 0.00s; Preflight/Patch: 0.61s, Verifying: 0.86s; Overall: 2.57s
Dec  3 12:01:08 My-AppleWatch pkd[112] <Warning>: releasing plug-in hold 3944F57B-6269-4A15-9E09-750392BA4EF3 at client's request
Dec  3 12:01:08 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: <SPGizmoAppManager.m -[SPGizmoAppManager applicationsWithBundlefIDsWereInstalled:]:484> Requesting AppleWatch.app preferences for app: appid.watchkitapp
Dec  3 12:01:08 My-AppleWatch pkd[112] <Warning>: INSTALLED:appid.watchkitapp.watchkitextension appid.watchkitapp.watchkitextension(1.0) <__NSConcreteUUID 0x17570810> EB0A3A21-F89B-4749-905E-CA09D45764EE /private/var/mobile/Containers/Bundle/Application/42937A03-7452-473B-A4D7-1FB395D9AE81/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:01:08 My-AppleWatch ***[63] <Warning>: LaunchServices: Updating identifier store
Dec  3 12:01:08 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: Received AppleWatch.app preferences for app: appid.watchkitapp
Dec  3 12:01:08 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoAppInstaller.m -[SPGizmoAppInstaller effectiveInstallerIDForApplication:installerID:]:411> No installerID, so assuming xcode for: appid.watchkitapp
Dec  3 12:01:08 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: applicationWithIdentifierWasInstalled, installed (appid.watchkitapp)
Dec  3 12:01:09 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f084000): Starting connection on port 62078
Dec  3 12:01:11 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 49564
Dec  3 12:01:15 My-AppleWatch kernel[0] <Notice>: [HID] [MT] AppleMultitouchDeviceUserClient::issueDriverRequest Get device power
Dec  3 12:01:14 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to ENABLE voice trigger - Reason: Backlight turned on)
Dec  3 12:01:15 My-AppleWatch Carousel[30] <Warning>: BacklightChangedReason not found for 21011
Dec  3 12:01:15 My-AppleWatch backboardd[50] <Notice>: [HID] [MT]: detection mode: 254->0
Dec  3 12:01:15 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:15 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:15 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:16 My-AppleWatch kernel[0] <Notice>: [SPU:client1] CMSPUGestureService,Received Control Mode,2,Options,0
Dec  3 12:01:16 My-AppleWatch kernel[0] <Notice>: [SPU:client1] CMSPUGestureService,3,Ctr,16,Det_ms,0,Wake_ms,0,NumW,2,NumR,0,totRun_s,0
Dec  3 12:01:16 My-AppleWatch kernel[0] <Notice>: xpcproxy[262] Container: /private/var/mobile/Containers/Data/Application/A740709A-07A9-46B1-A5BC-620DEAEBD48F (sandbox)
Dec  3 12:01:16 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now running the foreground
Dec  3 12:01:16 My-AppleWatch WatchGRT WatchKit App[262] <Warning>: This app was launched by Xcode
Dec  3 12:01:17 My-AppleWatch pkd[112] <Warning>: assigning plug-in appid.watchkitapp.watchkitextension(1.0) to plugin sandbox
Dec  3 12:01:17 My-AppleWatch pkd[112] <Warning>: enabling pid=95 for plug-in appid.watchkitapp.watchkitextension(1.0) EB0A3A21-F89B-4749-905E-CA09D45764EE /private/var/mobile/Containers/Bundle/Application/42937A03-7452-473B-A4D7-1FB395D9AE81/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:01:17 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:17 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:17 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:17 My-AppleWatch kernel[0] <Notice>: xpcproxy[263] Container: /private/var/mobile/Containers/Data/PluginKitPlugin/D358DA33-87ED-468B-A8C9-B86262F92CCD (sandbox)
Dec  3 12:01:18 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f234000): Starting connection on port 62078
Dec  3 12:01:19 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [264] <Warning>: debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  for armv7.
Dec  3 12:01:19 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [264] <Warning>: Connecting to com.apple.debugserver service...
Dec  3 12:01:20 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f124000): Starting connection on port 49567
Dec  3 12:01:20 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [264] <Warning>: Got a connection, waiting for process information for launching or attaching.
Dec  3 12:01:21 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now suspending
Dec  3 12:01:21 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [264] <Warning>: Attach succeeded, ready to debug.
Dec  3 12:01:22 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DISABLE voice trigger - Reason: Backlight turned on)
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:26 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:26 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:26 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:27 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:27 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:27 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:27 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:27 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:27 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:01:27 My-AppleWatch amfid[118] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:01:27 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:01:27 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:02:27 My-AppleWatch UserEventAgent[22] <Warning>: MotionActivityDispatcher: Couldn't dispatch motion activity
Dec  3 12:02:27 My-AppleWatch syslogd[21] <Notice>: ASL Sender Statistics
Dec  3 12:02:59 My-AppleWatch wifid[58] <Error>: WiFi:[470833379.153225]: Disable WoW requested by "IMTransferAgent"
Dec  3 12:02:59 My-AppleWatch wifid[58] <Error>: WiFi:[470833379.154527]: Network NULL for client IMTransferAgent !
Dec  3 12:02:59 My-AppleWatch wifid[58] <Error>: WiFi:[470833379.163342]: Network NULL for client IMTransferAgent !
Dec  3 12:02:59 My-AppleWatch IMTransferAgent[265] <Warning>: WiFi is associated NO
Dec  3 12:02:59 My-AppleWatch IMTransferAgent[265] <Warning>: WiFi is associated NO
Dec  3 12:03:14 My-AppleWatch sharingd[26] <Error>: 12:03:14.077 : NSURLSessionProxy message of type 1008 received for unknown session com.apple.imtransferagent|8E903F89-46B9-4051-A6E8-AD816D52A678
Dec  3 12:03:14 My-AppleWatch sharingd[26] <Error>: 12:03:14.244 : NSURLSessionProxy message of type 1008 received for unknown session com.apple.imtransferagent|2CDEB136-B4AE-41AD-8660-49C93105F3AC










Dec  3 12:05:58 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f124000): Starting connection on port 62078
Dec  3 12:05:58 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f124000): Starting connection on port 62078
Dec  3 12:05:59 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f124000): Starting connection on port 62078
Dec  3 12:06:03 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 49588
Dec  3 12:06:04 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 62078
Dec  3 12:06:06 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 62078
Dec  3 12:06:07 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 62078
Dec  3 12:06:07 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f234000): Starting connection on port 49592
Dec  3 12:06:08 My-AppleWatch streaming_zip_conduit[154] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x17d9e450> appid.watchkitapp <(null) *Not found in database*>
Dec  3 12:06:08 My-AppleWatch streaming_zip_conduit[154] <Warning>: LaunchServices: Not creating progress for <LSApplicationProxy: 0x17d9e450> appid.watchkitapp <(null) *Not found in database*> since it is not a placeholder.
Dec  3 12:06:08 My-AppleWatch installd[35] <Notice>: 0x1f124000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/WatchGRT WatchKit App.app_sparse.ipa" type Developer requested by streaming_zip_conduit (pid 154)
Dec  3 12:06:08 My-AppleWatch pkd[112] <Warning>: UNINSTALLED:appid.watchkitapp.watchkitextension appid.watchkitapp.watchkitextension(1.0) 298A9968-ABC3-4520-B2BE-F47F4CD35E5B /private/var/mobile/Containers/Bundle/Application/4AAC36AE-1EE2-4917-86CA-93D323D87A0A/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:06:09 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now running the foreground
Dec  3 12:06:09 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundlePatch ID=appid.watchkitapp; Version=1, ShortVersion=1.0>
Dec  3 12:06:10 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstallableBundlePatch applyPatchWithError:]: Attempting patch update of appid.watchkitapp from 1 (1.0) to 1 (1.0)
Dec  3 12:06:11 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: -[SPGizmoAppServer notifyProvisioningProfilesChanged:removed:]
Dec  3 12:06:11 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Provisioning profiles changed
Dec  3 12:06:11 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Updating MIS trust...
Dec  3 12:06:11 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: -[SPGizmoAppServer notifyProvisioningProfilesChanged:removed:]
Dec  3 12:06:11 My-AppleWatch com.apple.xpc.launchd[1] (appid.watchkitapp.watchkitextension[267]) <Warning>: Service did not exit 3 seconds after SIGKILL.
Dec  3 12:06:11 My-AppleWatch com.apple.xpc.launchd[1] (appid.watchkitapp.watchkitextension[267]) <Warning>: Abandoning service instance. This may lead to deadlocks.
Dec  3 12:06:11 My-AppleWatch gizmoappd[95] <Warning>: plugin appid.watchkitapp.watchkitextension interrupted
Dec  3 12:06:11 My-AppleWatch gizmoappd[95] <Warning>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named appid.watchkitapp.watchkitextension" UserInfo={NSDebugDescription=connection to service named appid.watchkitapp.watchkitextension}
Dec  3 12:06:11 My-AppleWatch gizmoappd[95] <Notice>: (Warn ) WatchKit: <SPGizmoPlugInManager.m __72-[SPGizmoPlugInManager beginUsingExtension:serverIdentifier:completion:]_block_invoke:962> could not activate plugin appid.watchkitapp.watchkitextension. Retry in 11.80 seconds
Dec  3 12:06:12 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Provisioning profiles changed
Dec  3 12:06:12 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:06:12 My-AppleWatch profiled[132] <Notice>: (Note ) MC: Updating MIS trust...
Dec  3 12:06:12 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:06:12 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:06:12 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:06:12 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:06:12 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:06:13 My-AppleWatch installd[35] <Error>:  SecTrustEvaluate  [leaf IssuerCommonName SubjectCommonName]
Dec  3 12:06:13 My-AppleWatch networkd[73] <Notice>: -[NETClientConnection effectiveBundleID] using process name securityd as bundle ID (this is expected for daemons without bundle ID
Dec  3 12:06:13 My-AppleWatch securityd[68] <Error>: CFReadStream domain: 12 error: 8
Dec  3 12:06:14 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for appid.watchkitapp is now at /private/var/mobile/Containers/Data/Application/62E7D2BF-FEE1-4562-B233-963D1CF80668
Dec  3 12:06:14 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for appid.watchkitapp.watchkitextension is now at /private/var/mobile/Containers/Data/PluginKitPlugin/A278106E-15C1-4619-8B22-1000860A212E
Dec  3 12:06:14 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for appid.watchkitapp at /private/var/mobile/Containers/Bundle/Application/716F956F-B981-408A-9337-BBBE77B838F1
Dec  3 12:06:14 My-AppleWatch installd[35] <Notice>: 0x1f084000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.05s; Waiting: 0.00s; Preflight/Patch: 1.92s, Verifying: 1.95s; Overall: 5.89s
Dec  3 12:06:14 My-AppleWatch pkd[112] <Warning>: releasing plug-in hold D8644500-4047-4E27-968E-E99498E929AF at client's request
Dec  3 12:06:15 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: <SPGizmoAppManager.m -[SPGizmoAppManager applicationsWithBundlefIDsWereInstalled:]:484> Requesting AppleWatch.app preferences for app: appid.watchkitapp
Dec  3 12:06:16 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: Received AppleWatch.app preferences for app: appid.watchkitapp
Dec  3 12:06:16 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoAppInstaller.m -[SPGizmoAppInstaller effectiveInstallerIDForApplication:installerID:]:411> No installerID, so assuming xcode for: appid.watchkitapp
Dec  3 12:06:16 My-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: applicationWithIdentifierWasInstalled, installed (appid.watchkitapp)
Dec  3 12:06:16 My-AppleWatch ***[63] <Warning>: LaunchServices: Updating identifier store
Dec  3 12:06:16 My-AppleWatch pkd[112] <Warning>: INSTALLED:appid.watchkitapp.watchkitextension appid.watchkitapp.watchkitextension(1.0) <__NSConcreteUUID 0x1758f420> 950CC4CB-177C-4B2D-9628-A4ED4A481AFA /private/var/mobile/Containers/Bundle/Application/716F956F-B981-408A-9337-BBBE77B838F1/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:06:18 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f2bc000): Starting connection on port 62078
Dec  3 12:06:20 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f1ac000): Starting connection on port 49596
Dec  3 12:06:24 My-AppleWatch pkd[112] <Warning>: assigning plug-in appid.watchkitapp.watchkitextension(1.0) to plugin sandbox
Dec  3 12:06:24 My-AppleWatch pkd[112] <Warning>: enabling pid=95 for plug-in appid.watchkitapp.watchkitextension(1.0) 298A9968-ABC3-4520-B2BE-F47F4CD35E5B /private/var/mobile/Containers/Bundle/Application/4AAC36AE-1EE2-4917-86CA-93D323D87A0A/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:06:25 My-AppleWatch gizmoappd[95] <Warning>: Communications error: <OS_xpc_dictionary: <dictionary: 0x1466e4f0> { count = 2, contents =
  "errorcode" => <uint64: 0x14576760>: 4
  "error" => <string: 0x14696c90> { length = 135, contents = "cannot obtain executable path for plug-in appid.watchkitapp.watchkitextension(298A9968-ABC3-4520-B2BE-F47F4CD35E5B)" }
  }>
Dec  3 12:06:25 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now suspending
Dec  3 12:06:25 My-AppleWatch gizmoappd[95] <Warning>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named appid.watchkitapp.watchkitextension was invalidated." UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.}
Dec  3 12:06:25 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __72-[SPGizmoPlugInManager beginUsingExtension:serverIdentifier:completion:]_block_invoke:972> could not activate plugin appid.watchkitapp.watchkitextension (error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named appid.watchkitapp.watchkitextension was invalidated." UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.})
Dec  3 12:06:25 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke795:1285> Got nil extension for appid.watchkitapp. Just dropping 8 pended calls
Dec  3 12:06:25 My-AppleWatch gizmoappd[95] <Warning>: plugin appid.watchkitapp.watchkitextension invalidated
Dec  3 12:06:29 My-AppleWatch kernel[0] <Notice>: xpcproxy[269] Container: /private/var/mobile/Containers/Data/Application/62E7D2BF-FEE1-4562-B233-963D1CF80668 (sandbox)
Dec  3 12:06:29 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now running the foreground
Dec  3 12:06:29 My-AppleWatch WatchGRT WatchKit App[269] <Warning>: This app was launched by Xcode
Dec  3 12:06:29 My-AppleWatch pkd[112] <Warning>: assigning plug-in appid.watchkitapp.watchkitextension(1.0) to plugin sandbox
Dec  3 12:06:29 My-AppleWatch pkd[112] <Warning>: enabling pid=95 for plug-in appid.watchkitapp.watchkitextension(1.0) 950CC4CB-177C-4B2D-9628-A4ED4A481AFA /private/var/mobile/Containers/Bundle/Application/716F956F-B981-408A-9337-BBBE77B838F1/WatchGRT WatchKit App.app/PlugIns/WatchGRT WatchKit Extension.appex
Dec  3 12:06:30 My-AppleWatch kernel[0] <Notice>: xpcproxy[270] Container: /private/var/mobile/Containers/Data/PluginKitPlugin/A278106E-15C1-4619-8B22-1000860A212E (sandbox)
Dec  3 12:06:30 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: Location Updates OFF
Dec  3 12:06:30 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f2bc000): Starting connection on port 62078
Dec  3 12:06:31 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [271] <Warning>: debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  for armv7.
Dec  3 12:06:31 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [271] <Warning>: Connecting to com.apple.debugserver service...
Dec  3 12:06:32 My-AppleWatch companion_proxy[107] <Notice>: CompanionProxy: -[CPXIDSRelayGizmo handleConnection:socket:localPort:serviceName:]:85 (0x0x1f124000): Starting connection on port 49599
Dec  3 12:06:32 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [271] <Warning>: Got a connection, waiting for process information for launching or attaching.
Dec  3 12:06:32 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: No cleanup to be done. It's probably safe to exit.
Dec  3 12:06:33 My-AppleWatch com.apple.debugserver-@(#)PROGRAM:debugserver  PROJECT:debugserver-340.3.56
  [271] <Warning>: Attach succeeded, ready to debug.
Dec  3 12:07:26 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DO bypass phrase spotter with timeout: 65.000000
Dec  3 12:07:26 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DO NOT bypass phrase spotter with timeout: 0.000000
Dec  3 12:07:27 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: Location Updates ON
Dec  3 12:07:27 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: Requesting Location
Dec  3 12:07:28 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DO bypass phrase spotter with timeout: 65.000000
Dec  3 12:07:28 My-AppleWatch Carousel[30] <Notice>: (Note ) log.facility.voicetrigger: ::: Received request to DO NOT bypass phrase spotter with timeout: 0.000000
Dec  3 12:07:28 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now running in the background
Dec  3 12:07:31 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now suspending
Dec  3 12:07:31 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: No cleanup to be done. It's probably safe to exit.
Dec  3 12:07:32 My-AppleWatch nanoweatherd[113] <Notice>: (Note ) NanoWeather: Adding NWMForecastCache to cleanup handler
Dec  3 12:07:34 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now running the foreground
Dec  3 12:07:48 My-AppleWatch iap2d[93] <Warning>: process appid.watchkitapp is now switching to other state
Dec  3 12:07:48 My-AppleWatch UserEventAgent[22] <Warning>: 761182148617: id=appid.watchkitapp pid=269, state=32
Dec  3 12:07:52 My-AppleWatch sharingd[26] <Notice>: 12:07:52.100 : Sending Handoff advertisement



I really hope someone here can help me. This bug is more than annoying and I cannot progress on my actual development tasks.


Regards,

Magnus

Dec  3 12:10:53 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now suspending
Dec  3 12:10:53 My-AppleWatch gizmoappd[95] <Warning>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named appid.watchkitapp.watchkitextension was invalidated." UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.}
Dec  3 12:10:53 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __72-[SPGizmoPlugInManager beginUsingExtension:serverIdentifier:completion:]_block_invoke:972> could not activate plugin appid.watchkitapp.watchkitextension (error:Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named appid.watchkitapp.watchkitextension was invalidated." UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.})
Dec  3 12:10:53 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke795:1285> Got nil extension for appid.watchkitapp. Just dropping 12 pended calls
Dec  3 12:10:53 My-AppleWatch gizmoappd[95] <Warning>: plugin appid.watchkitapp.watchkitextension invalidated
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Note ) WatchKit: -[SPGizmoAppServer notifyClientsExtensionTerminated:] Companion app extension died - killing gizmo app appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke_2:1207> got plugInExited: callback for appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke_2:1207> got plugInExited: callback for appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch Carousel[30] <Warning>: BSXPCMessage received error for message: Connection interrupted
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke_2:1207> got plugInExited: callback for appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke_2:1207> got plugInExited: callback for appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke_2:1207> got plugInExited: callback for appid.watchkitapp
Dec  3 12:12:56 Mys-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __59-[SPGizmoPlugInManager sendToPlugin:clientIdentifier:call:]_block_invoke:1203> plugin appid.watchkitapp appears to be stuck loading. trying to force it to quit
Dec  3 12:12:56 Mys-AppleWatch WatchGRT WatchKit App[275] <Warning>: -[SPApplicationDelegate extensionDidTerminate:] WatchKit App killed by WatchKit daemon
Dec  3 12:12:56 Mys-AppleWatch com.apple.xpc.launchd[1] (UIKitApplication:appid.watchkitapp[0x62a4][275]) <Warning>: Service exited with abnormal

I find debugging on the watch painful, however it does work for me.


I think there were some tips posted somewhere, but I forget where.


Here's some things to do if you haven't yet (try these in order once to see if it helps):


1) Use the iphone watch app to uninstall your app from the watch


2) shut down xcode (I'm surprised how many times xcode seems to have lost it's mind and can't debug successfully. Yes, this is with 7.1)


3) power cycle the phone and watch (hold side button and do a slide to power off on watch, restart. You have to remove it from the charge cable to do this)


4) Bring everything back up


5) Place watch on charger cable (This isn't required, but it seems like the watch goes in to lower power mode when off the charger, or something, and you'll have much less success debugging with it off the cable.)


6) Pick your Scheme for phone plus watch for debug


7) Set breakpoints (I assume you have these already, but add some if not.)


8) Run from Xcode


9) take a break and wait (especially if you try to debug a complication, this can take a minute or more to get going, so if you aren't patient, you'll kill it before it makes it to your first breakpoint. In my experience, that will leave things in a worse state and you may or may not be able to run the next session successfully. Restarting Xcode at that point may be enough to repair things. )


Let us know if it works for you...


I just tried a complication debug session a few minutes ago and Xcode stopped on my first breakpoint, but then it never made it to the second breakpoint (after waiting a couple minutes.) A restart of Xcode and the watch made things work again.

Incredible! The simple act of placing the Watch on its power cradle caused it to appear instantly in XCode, complete with name and WatchOS version. So if you are having problems, definitely try this.

Is there a particular reason you must add a breakpoint for this to work?

Xcode wont run WatchKit App
 
 
Q