VoIP socket on iOS 16 and Xcode 14

Viewed 364

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.

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.

Related