After updating to Xcode 15.3 - "Profile doesn't include the com.apple.developer.mail-client entitlement"

After updating to Xcode 15.3 and Sonoma, I started getting an error when packaging my app:

Provisioning profile failed qualification Profile doesn't include the com.apple.developer.mail-client entitlement.

There is no indication in the documentation that this has anything to do with the provisioning profile, and there is no capacility that needs to be added.

I was given the "com.apple.developer.mail-client" entitlement from Apple over a year ago as documented in: https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_mail-client, and it worked fine until now.

Replies

On iOS and its child platforms, all entitlements must be authorised a provisioning profile. I talk about this in some detail in TN3125 Inside Code Signing: Provisioning Profiles.

I’m not really up-to-speed on this managed capability but I suspect it works through the old process described in this thread. If so, you need to manually enable it on your profile and then use manual code signing to apply that profile.

there is no capacility that needs to be added.

Right. If it uses the old process, that doesn’t show up in Signing & Capabilities.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

@eskimo , we were authorised to use this entitlement since iOS 14, and I already made sure it's selected into all our proivisioning profiles. It was working for us perfectly until now. It just stopped working with Xcode 15. I suspect a bug in the new upload tool.

Did you add it to your App ID or add it to your profile?

That’s the new process versus old process dichotomy described in Using the Multicast Networking Additional Capability.

IMPORTANT That’s a different capability, so the link is only there to help you understand the new and old processes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • @eskimo Yes we have. As I wrote before "After updating to Xcode 15.3..." - this all worked fine before Xcode 15.

Add a Comment