Search code examples
ioscode-signing-entitlementscarplay

carplay-audio entitlement missing from provisioning profile


Apple has enabled the CarPlay capability for our app, but when I download my provisioning profile I can't find the com.apple.developer.carplay-audio entitlement in it.

Here's what I did:

  1. For our app identifier on Apple Developer Portal in "Additional Capabilities" I enabled "CarPlay Audio App (CarPlay framework)".

  2. After that I generated a provisioning profile and downloaded it. In the provisional profile info on Apple Developer Portal I can see "CarPlay Audio App (CarPlay framework)" in "Enabled Capabilities".

  3. When I import the downloaded profile in Xcode, I can't see the CarPlay entitlement there. After I added the com.apple.developer.carplay-audio entitlement to my .entitlements file, I'm getting the "Provisioning profile ... doesn't include the com.apple.developer.carplay-audio entitlement.". When I'm opening the profile in my text editor, I also can't find "carplay-audio" there.

Could anyone help me to solve this problem?


Solution

  • I think we had the same issue and that's actually Apple's fault on developer.apple.com. Go to your identifier and check the box on the "CarPlay Audio App (Media Player framework)" (NOT the CarPlay), hit save and recreate the provisioning profile. I remember contacting them and they told me the two options are mixed up :D