robbiehanson / CocoaAsyncSocket

Asynchronous socket networking library for Mac and iOS
Other
12.45k stars 3k forks source link

Version 7.6.5 will CRASH on iOS 16 due to removed `kCFStreamNetworkServiceTypeVoIP` #801

Closed funnel20 closed 2 years ago

funnel20 commented 2 years ago

As reported the latest version will crash on iOS 16, since Apple finally removed constant kCFStreamNetworkServiceTypeVoIP which is still be used by AsyncSocket.

I have provided a solution for issue https://github.com/robbiehanson/CocoaAsyncSocket/issues/361 more than 2 years ago via PR #717 but this has never be implemented. Please release an update asap where kCFStreamNetworkServiceTypeVoIP should be replaced by kCFStreamNetworkServiceTypeBackground as indicated in the above mentioned comments and PR.

fabiosoft commented 2 years ago

YES! Every app calling "enableBackgroundingOnSocket" method to support background will crash due to missing of this flag. Hope someone will merge and update....

github-actions[bot] commented 2 years ago

This issue has been marked as stale, it will be closed automatically if there is no further activity.