Search code examples
iosvoippushkit

Voip(Voice over IP) missing in Xcode 9


i am using pushKit in my App but didUpdatePushCredentials delegate never called. xcode 9 not having Voice over IP

Capabilities --> Background Modes --> Voice over IP

enter image description here

i am following this link..implement pushkit

certificates generated again but not working.


Solution

  • Although, Xcode 9 is announced officially, still there isn't VoIP on the capabilities.

    I solved my problem by opening Info.plist as a source code and adding "voip" to UIBackgroundModes manually.

    <key>UIBackgroundModes</key>
    <array>
        <string>audio</string>
        <string>voip</string>
        <string>fetch</string>
        <string>remote-notification</string>
    </array>