Our developer account was granted the com.apple.developer.mail-client by Apple ages ago, which we use for one of our apps.
At the time, this entitlement was granted through a special "entitlements" drop-down on the profile creation page. In fact, the entitlement is still available to us in this manner:
Unfortunately, applying the entitlement directly to the profile no longer works through the App Store Connect API. Which is a bummer because we periodically use the API to update our development and ad hoc profiles with new UDIDs.
I was eventually able to get Apple to migrate the entitlement to a capability that we can instead apply to the app IDs in our account. Great!
However, for some reason the "Default Mail App" capability (on the "Edit your App ID Configuration" screen) shows does NOT apply to Ad hoc profiles:
Note that "Ad hoc" is missing.
This means we still need to update the Ad hoc profile for the app in question manually through the Apple developer portal.
This has to be a bug. It makes no sense that this specific capability doesn't apply to Ad hoc profiles. Other capabilities don't have this issue. e.g.:
Another strange thing is that on the profile page for the ad hoc profile under "Enabled Capabilities" it shows "Default Mail App" (see screenshot above) but the capability/entitlement is missing from the downloaded profile unless I add it via the drop down menu on the profile page.
How do I get Apple to fix this? Multiple support tickets submitted via our developer account have gone unanswered. (It took months just to get the entitlement partially migrated in the first place.)
Thanks.
I think I know what’s going on here but I need to check a few more things before I can be sure. That’s probably more than I should be doing in public, so I’m going to have you open a DTS code-level support request for this.
When you submit the request form, explain that I sent you and reference this forums thread.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"