Provisioning Profile Error

I'm building an app that uses the Screen Time API and DeviceActivityMonitoring Framework. It works when I run the simulator build on iPhone 16 but when I try to launch it on my own iPhone, I get these errors.

Provisioning profile "iOS Team Provisioning Profile: Kanso- Digital-Wellness.Kanso-v2" doesn't include the com.apple.developer.device-activity.monitoring entitlement.

KansoMonitorExtension 1 issue

x Provisioning profile "iOS Team Provisioning Profile: Kanso-Digital-Wellness.Kanso-v2.KansoMonitorExtension" doesn't include the com.apple.developer.device-activity.monitoring en...

Read something online that said a reboot would fix this, but I tried and no luck. Any ideas?

I'm not very technical, so would pay someone to fix this for me :)

Perhaps you can try the following:

  1. Ensure you have the production entitlement
  2. Log out and back in Xcode
  3. Re-download the provisioning profiles
  4. Re-select your team in signing and capabilities
Provisioning Profile Error
 
 
Q