Xcode provisioning profile doesn't include CallKit directory

I'm trying to use the callkit library on Xcode 15 but I'm getting the errors below.

Error 1:Automatic signing failed Xcode failed to provision this target. Please file a bug report at <https://feedbackassistant.apple.com> and include the Update Signing report from the Report navigator.

Error 2: Provisioning profile "iOS Team Provisioning Profile: me.liu.brian.Autocall.CallDirectoryHandler" doesn't include the Com.apple.developer.callkit.call-directory entitlement.

I already generated the .entitlements file in both my main app and callDirectoryHandler. When I try to enable the CallKit capability in the Identifiers or Profiles section on apple developer.com, the CallKit Capability simply isn't listed under any of the sections, so I can't enable it. What can I do to use CallKit in my app?

Xcode provisioning profile doesn't include CallKit directory
 
 
Q