如何修复在加载屏幕上挂起的更新watchkit应用程序?

时间:2016-03-07 15:45:27

标签: ios xamarin watchkit apple-watch

开始情况:

让我们说我们有两个iOS应用程序版本都包含一个watchkit应用程序。这两个应用程序都是内部PP的Ad-Hoc构建。让我们标记版本1和2.当我安装版本1时,应用程序工作正常,手表按预期工作。然后我删除版本1并安装版本2.同样的结果,在iPhone和Apple手表上都能很好地运行应用程序。

问题: 现在让我们安装版本1并用版本2覆盖它。该应用程序在iPhone和手表上成功安装。 iPhone应用程序启动,Watch应用程序挂在Loading spinner !!

该应用程序是构建uisng Xamarin 5.7,我不知道这是否是问题的一部分,但我认为重要的是提及。

iOS版:9.2 观看os:2.1 XCode:7.2.1 Xamarin:5.7

日志:

Mar  7 17:25:08 Joses-iPhone companionappd[124] <Notice>: (Error) WatchKit: <SPCompanionAppServer.m __51-[SPCompanionAppServer sendToRemoteInterface:call:]_block_invoke:1009> Semaphore timed out! Please file a radar.
Mar  7 17:25:18 Joses-iPhone companionappd[124] <Notice>: (Error) WatchKit: <SPCompanionAppServer.m __51-[SPCompanionAppServer sendToRemoteInterface:call:]_block_invoke:1009> Semaphore timed out! Please file a radar.
Mar  7 17:25:19 Joses-iPhone companionappd[124] <Notice>: (Error) WatchKit: <SPApplicationManager.m __56-[SPApplicationManager beginUsingPlugin:withCompletion:]_block_invoke285:426> * * * After 10.0 secs, beginUsing: hasn't called us back for plugin with beginUsingInstanceUUID <__NSConcreteUUID 0x145657170> 9AF88A58-1709-4934-A478-831D908FA0D6
Mar  7 17:25:19 Joses-iPhone companionappd[124] <Notice>: (Warn ) WatchKit: <SPApplicationManager.m __83-[SPApplicationManager getOrBeginActivePlugInForApplication:setupBlock:completion:]_block_invoke_2338:503> Unable to start plugin xx.xx.xx.watchkitextension 0x14556e0c0 with identifier xx.xx.xx.watchkitapp (Error Domain=com.apple.watchkit.errors Code=15 "PKPlugin beginUsing: never called back" UserInfo={NSLocalizedDescription=PKPlugin beginUsing: never called back})
Mar  7 17:25:19 Joses-iPhone companionappd[124] <Notice>: (Error) WatchKit: <SPCompanionAppServer.m __51-[SPCompanionAppServer sendToRemoteInterface:call:]_block_invoke615:998> activePlugInForIdentifier: returned nil for application xx.xx.xx.watchkitapp
Mar  7 17:25:28 Joses-iPhone companionappd[124] <Notice>: (Error) WatchKit: <SPCompanionAppServer.m __51-[SPCompanionAppServer sendToRemoteInterface:call:]_block_invoke:1009> Semaphore timed out! Please file a radar.

重新启动iPhone后,watchkitapp启动时没有任何问题!

0 个答案:

没有答案