Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VoIP socket on iOS 16 and Xcode 14

I am developing an app which uses PJSIP library to maintain an open VoIP socket. Since updating to Xcode 14 and my device to iOS 16, the app crashes upon launch when trying to connect the VoIP socket. The crash log says the following:

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

Any help would be appreciated.

like image 532
Yoni Reiss Avatar asked Oct 16 '25 13:10

Yoni Reiss


1 Answers

Apple seems to be enforcing their deprecation of VoIP sockets.

You can keep PJSIP from using them by declaring

#define PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT 0

in your config_site.h before you compile pjsip. It is described here too.

like image 95
Jannis Avatar answered Oct 18 '25 05:10

Jannis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!