Hello Everyone,
I am currently building an app using React Native with Swift bridging, integrating VoIP functionality using Twilio, PushKit, and CallKit. I am encountering the following issue during development: "The current provisioning profile doesn't include the com.apple.developer.voip-push-notification entitlement."
What I’ve Done So Far:
- VoIP Certificate: I have created a valid VoIP Services certificate in the Apple Developer portal.
- Bundle Identifier and Provisioning Profile: A new Bundle ID was created specifically for this app. I created a provisioning profile for this Bundle ID and downloaded it for use in Xcode.
- Xcode Capabilities
- Push Notifications: Enabled
- Background Modes: Voice over IP: Enabled, Remote notifications: Enabled
- Entitlements File
I have an entitlements file named VoiceCallDemoProjectRelease.entitlements with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
<key>com.apple.developer.voip-push-notification</key>
<true/>
</dict>
</plist>
This entitlements file is properly linked in the project’s build settings.
Project Setup I have integrated PushKit for VoIP push handling and CallKit for incoming call UI and control.
Problem:
- In the Apple Developer portal under my App ID settings, I only see an option to enable Push Notifications.
- There is no option available to enable Voice over IP, and therefore the provisioning profile generated does not include the com.apple.developer.voip-push-notification entitlement.
- Despite enabling VoIP background mode in Xcode, adding the entitlement in my project, and using a valid VoIP certificate, the profile does not include the required entitlement.
Additional Information:
- I am using an Individual Apple Developer Account, not an Organization account.
- I have already attempted re-downloading the provisioning profile, restarting Xcode, and cleaning the build folder.
Question:
- What steps should I take to resolve this and ensure that the com.apple.developer.voip-push-notification entitlement is included in my provisioning profile?
- Is this limitation due to the type of developer account (individual vs. organization), and do I need to upgrade to an Organization account to access this entitlement?
- Is there any way to request for 'com.appple.developer.voip-push-notification' entitlement to Apple Team ?
Any clarification would be appreciated.
Thank you.
Is there any way to request for 'com.appple.developer.voip-push-notification' entitlement to Apple Team ?
No, because you're asking for something that does not exist and never has. Using the "voip" background mode does not require any special entitlement and never has.
You can find a more complete description of what's going on here.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware