Failed Qualification After Receiving Default Mail Capability

Hi Apple DTS & community folks,

I’m reaching out regarding an issue we’ve encountered with the com.apple.developer.mail-client capability for our app (bundle identifier: so.notion.Mail).

We were granted this entitlement last week to allow the app to be set as a default Mail client. While everything works as expected when archiving and distributing builds locally in Xcode, we’re running into a problem when using Xcode Cloud. Specifically, Xcode Cloud attempts to archive and distribute an Ad-Hoc build, but the Ad-Hoc provisioning profile does not include this special entitlement. Since we’re using Xcode-managed profiles, we don’t have the ability to create or adjust an explicit profile ourselves.

This issue only arises in Xcode Cloud—local distribution works unless we explicitly attempt an Ad-Hoc build (which is not our intent). I’ve included a screenshot of the error for reference.

We found this forum post describing the same issue, where the resolution was Apple enabling the entitlement for Ad-Hoc builds.

We’d like to request that Apple enable this capability for Ad-Hoc builds for the Notion Mail application so that Xcode Cloud distribution functions correctly.

Thank you for your help!

Answered by DTS Engineer in 857724022

AFAICT your analysis of the situation here is correct, that is, you need the Ad Hoc distribution option enabled for the Default Mail App managed capability. That’s not something I can help you with here on the forums. You’ll need to request this from the folks who originally issued you the capability. Or, failing that, you can request help via Apple > Developer > Contact Us > Development and Technical > Entitlements.

Share and Enjoy

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

AFAICT your analysis of the situation here is correct, that is, you need the Ad Hoc distribution option enabled for the Default Mail App managed capability. That’s not something I can help you with here on the forums. You’ll need to request this from the folks who originally issued you the capability. Or, failing that, you can request help via Apple > Developer > Contact Us > Development and Technical > Entitlements.

Share and Enjoy

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

Failed Qualification After Receiving Default Mail Capability
 
 
Q