A valid provisioning profile for this executable was not found.

I am using an Xcode project to run my game on my device. I used to have an iphone8 and I was to run my game on a device. But for my iphone6 when I run I get an error


`Unable to install "game"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
    DVTErrorCreationDateKey = "2023-06-05 18:40:45 +0000";
    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.`

I notice this further down. Im not sure why this is saying iPhone 7 , the other information about my iOS version is correct. I didn't decide the iPhone version anywhere manually, does anyone know what the issue is?

`Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone7,2";`
A valid provisioning profile for this executable was not found.
 
 
Q