MailCore / mailcore2

MailCore 2 provide a simple and asynchronous API to work with e-mail protocols IMAP, POP and SMTP. The API has been redesigned from ground up.
Other
2.58k stars 623 forks source link

[Bug] - iOS app crash with Xcode 14 and iOS 16 because of deprecated api - kCFStreamNetworkServiceTypeVoIP #1964

Closed rjvishnu87 closed 1 year ago

rjvishnu87 commented 1 year ago

Summary My iOS app is getting crashed when I build it from Xcode 14 & iOS 16. This is because of the deprecated api usage "kCFStreamNetworkServiceTypeVoIP" This should not be used with the new Xcode 14.

Platform(s)

< iOS >

Happens on Mail Server

<All>

Piece of code

kCFStreamNetworkServiceTypeVoIP

Actual outcome app is getting crashed.

Application Specific Information: Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead

Connection Logs

Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead

Expected outcome app should not get crashed.

Link to sample code on GitHub reproducing the issue (a full Xcode project):

zhangcx627 commented 1 year ago

session.isVoIPEnabled = false worked for me. [#1955]

rjvishnu87 commented 1 year ago

yes, for me also worked, thanks.

rajulonka123 commented 1 year ago

is there any other solution for "Linked against modern SDK, VOIP socket will not wake. Use Local Push Connectivity instead". Thanks in advance.