简体   繁体   English

如何修复错误:7012消息回复花了太长时间-WCSession WatchOS 3

[英]How to fix Error: 7012 Message reply took too long - WCSession WatchOS 3

I have been trying stuff like this: "Message reply took too long." 我一直在尝试这样的事情: “消息回复花了太长时间。” - Watch Connectivity Issues with Watch OS 3 -Watch OS 3的手表连接问题

as well as trying anything and everything I can find... but cannot find a mistake. 以及尝试一切我能找到的东西...但找不到错误。

However I am still getting errors. 但是我仍然遇到错误。 I am using the simulator... is it even possible to test WCSession stuff with the simulators or can I only do this on devices? 我正在使用模拟器...是否甚至可以使用模拟器测试WCSession内容,还是只能在设备上执行此操作?

In the event that others come across it. 如果其他人遇到它。

2 things I needed to do: 我需要做的2件事:

  1. Make sure my ReplyHandlers were always being set 确保始终设置我的ReplyHandlers
  2. Reset Content and Settings on the simulators 在模拟器上重置内容和设置

Was able to get successful messages after that. 之后能够获得成功的消息。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:“消息回复花了太长时间” - WCSession观看OS2 - Error: “Message reply took too long” - WCSession Watch OS2 错误:“消息回复花了太长时间”向设备监视工具包OS 2发送消息 - ERROR: “Message reply took too long” sending message to device Watch kit OS 2 “消息回复花了太长时间。” - 观看Watch OS 3的连接问题 - “Message reply took too long.” - Watch Connectivity Issues with Watch OS 3 WatchOS2 WCSession WCSession可以在WatchKitExtension中拥有多少个代理? - WatchOS2 WCSession How many delegates can the WCSession have in WatchKitExtension? 如何使用AppDelegate的“ [WCSession defaultSession] sendMessage”同时在watchOS 2的特定接口控制器中接收消息 - How to receive message in a particular interface controller of watchOS 2 while using “[WCSession defaultSession] sendMessage” from AppDelegate 当watchOS应用程序使用HKWorkoutSession在后台运行时如何使WCSession可访问 - How to make WCSession reachable when the watchOS app is running in background with HKWorkoutSession WatchKit错误花了太长时间无法显示自定义通知。 退回静态 - WatchKit Error Took too long to show custom notification. Falling back to static WatchOS 3:为什么WCSession从未在iPhone上激活? - WatchOS 3 : Why does WCSession never activate on iPhone? WCSession发送消息给出错误“无法传递有效负载” - WCSession Send Message gives error “payload could not be delivered” watchOS,WCSession activationDidCompleteWith“已激活”,但无法访问 - watchOS, WCSession activationDidCompleteWith "activated", yet is not reachable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM