Attempting to install app on my device via xcode

When I try to build my app on my own device through Xcode I get the following error:

"Failed to install embedded profile for ***.Xxxx : *** (Attempted to install a Beta profile without the proper entitlement.) Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it."

My device is correctly registered in "Devices" on the "Certificates, Identifiers & Profiles" site. My app is also signed correctly and my provisioning profile is set up correctly. The only thing that changed was I upgraded Xcode to 15. Before that I was able to build the app directly to my phone using Xcode 14. I'm not sure what the "VPN" direction is about. When I check that on my device there is nothing about a certificate.

Thanks.

You should use development profile.

Attempting to install app on my device via xcode
 
 
Q