Unable to install "AppName" on iPhone X even when adding a provisioning profile
When I try to install app in debug mode on my iPhone using XCode i get this error:
Unable to install "AppName"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
DVTErrorCreationDateKey = "2022-06-30 10:21:27 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.
So far I've tried adding the provisioning key to my phone using the Devices and Simulators window, added the id of the phone so it can be used for tests, set up a sandbox account and have logged out of every other account on the phone.
This is a React Native App and the XCode version is 13.4.1
What else can I try to install the app on the iPhone?
iPhone X