I hit this same problem with MusicKit. I removed the reference to MusicKit from the entitlements file and now it is able to use automatic provisioning.
I am using Claude Code to help bootstrap my app.
Topic:
Code Signing
SubTopic:
Certificates, Identifiers & Profiles
Tags: