XMPP iOS 身份验证错误

XMPP iOS authentication error

我尝试使用 XMPP 从 iOS 在受保护的 openfire 服务器上进行身份验证,但我收到了以下信息:

Error Domain=XMPPStreamErrorDomain Code=4 "No suitable authentication method found" UserInfo=0x79726370 {NSLocalizedDescription=No suitable authentication method found}

有什么解决办法吗?

最后,我通过从 openfire 的系统属性中删除 sasl.mechs 解决了我的问题。

更多详细信息,您可以参考我在github上的问题link:

https://github.com/robbiehanson/XMPPFramework/issues/576