【问题标题】:Gettng Error WLClient onInvokeProcedureFailure:userInfo in WLClient.m获取错误 WLClient onInvoke 过程失败:WLClient.m 中的 userInfo
【发布时间】:2015-12-10 07:14:55
【问题描述】:

通过 iOS Apple Watch OS1 调用简单的 HTTP 适配器时出现以下错误。我们在服务器上部署了带有 WorklightAPI iOS 的 mobilefirst 6.3。

 [WL_CLIENT] -[WLClient onInvokeProcedureFailure:userInfo:] in WLClient.m

Status: 0
InvocationResult: (null)
InvocationContext: (null)
Error code: 3
Error message: Procedure invocation error.

当我们在开发服务器上运行它时,它运行良好。我们看到的唯一区别是在测试服务器上启用了 TLSv1.2,而在开发中则没有。

我们在 info.plist 中定义了 ATS --> Allow Arbitrary Loads = YES 但我们仍然遇到错误。

有什么建议吗?

【问题讨论】:

  • 我再说一遍。目前 MobileFirst 并未正式支持 Apple Watch...
  • 是的,我们知道......但是错误代码 3 和消息来自 invokeprocedure 方法,当这种情况出现时有人可以建议吗?谢谢
  • 如果您的问题确实与 Apple Watch 无关,请随时提出新问题。每当您提到 Apple Watch 时,我都无法提供帮助,因为它不应该工作。

标签: apple-watch ibm-mobilefirst mobilefirst-adapters mobilefirst-studio


【解决方案1】:

正如多次提到的,Apple Watch 不支持。无论如何,由于这是 Watch OS 1,这意味着您从“父”iOS 应用程序调用代码,不是吗?在这种情况下,您的其他问题已回答:https://stackoverflow.com/questions/34206002/there-is-no-registered-challenge-handler

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-04-10
    • 2018-12-21
    • 2016-11-27
    • 1970-01-01
    • 1970-01-01
    • 2019-02-08
    • 2020-09-06
    相关资源
    最近更新 更多