Open zhangylios opened 2 years ago
same problem @zhangylios did you find any solution?
Hi, check if you have XMPPStream.enableBackgroundingOnSocket set to YES. In case, try not to use it
Hi, check if you have XMPPStream.enableBackgroundingOnSocket set to YES. In case, try not to use it
Remove the xmppStream. EnableBackgroundingOnSocket = YES; It solves the crash problem, but does not setting this property affect the functionality?
Hi, check if you have XMPPStream.enableBackgroundingOnSocket set to YES. In case, try not to use it
Remove the xmppStream. EnableBackgroundingOnSocket = YES; It solves the crash problem, but does not setting this property affect the functionality?
yep, for sure it affects functionality, if you need it you should use PushKit as documented in the code (from XMPPStream.h#273):
@property (readwrite, assign) BOOL enableBackgroundingOnSocket DEPRECATED_MSG_ATTRIBUTE("Background sockets are no longer available on iOS 10. You must use PushKit and the XEP-0357 module instead.");
Also check Apple documentation at OptimizeVoIP
Hi, check if you have XMPPStream.enableBackgroundingOnSocket set to YES. In case, try not to use it
Remove the xmppStream. EnableBackgroundingOnSocket = YES; It solves the crash problem, but does not setting this property affect the functionality?
yep, for sure it affects functionality, if you need it you should use PushKit as documented in the code (from XMPPStream.h#273):
@property (readwrite, assign) BOOL enableBackgroundingOnSocket DEPRECATED_MSG_ATTRIBUTE("Background sockets are no longer available on iOS 10. You must use PushKit and the XEP-0357 module instead.");
Also check Apple documentation at OptimizeVoIP
This is the answer and solved my problem, thanks a lot
Hi, check if you have XMPPStream.enableBackgroundingOnSocket set to YES. In case, try not to use it
Remove the xmppStream. EnableBackgroundingOnSocket = YES; It solves the crash problem, but does not setting this property affect the functionality?
yep, for sure it affects functionality, if you need it you should use PushKit as documented in the code (from XMPPStream.h#273):
@property (readwrite, assign) BOOL enableBackgroundingOnSocket DEPRECATED_MSG_ATTRIBUTE("Background sockets are no longer available on iOS 10. You must use PushKit and the XEP-0357 module instead.");
Also check Apple documentation at OptimizeVoIPThis is the answer and solved my problem, thanks a lot
Can u please post the solution which solve your problem
@mahesh-reddy-ios Check this: https://github.com/robbiehanson/CocoaAsyncSocket/pull/717/commits
您好, 请检查您是否将 XMPPStream.enableBackgroundingOnSocket 设置为 YES。以防万一,尽量不要使用
The simulator can be retained. Use this solution directly for real machine debugging.
我已经解决了,谢谢
------------------ 原始邮件 ------------------ 发件人: "robbiehanson/XMPPFramework" @.>; 发送时间: 2024年1月16日(星期二) 下午4:30 @.>; @.**@.>; 主题: Re: [robbiehanson/XMPPFramework] XMPPFramework crash in iOS 16 and Xcode 14 (Issue #1223)
您好, 请检查您是否将 XMPPStream.enableBackgroundingOnSocket 设置为 YES。以防万一,尽量不要使用
The simulator can be retained. Use this solution directly for real machine debugging.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
hello, XMPPFramework runs iOS16, crashes on Xcode14 device, the error is like a screenshot, please help to update and solve it, thank you very much, XMPPFramework is great!