Can't install build to device

My Xcode build is successful, but I cannot install it on my device. This wasn't the problem earlier, when I was smoothly testing on my device and has only recently occurred.

The error I get is:


Unable to install "Runner"

Domain: com.apple.dt.MobileDeviceErrorDomain

Code: -402653081

Recovery Suggestion: Please check your project settings and ensure that a valid product has been built.

User Info: {

    DVTErrorCreationDateKey = "2022-12-22 20:10:38 +0000";

    IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;

}

--

There was an internal API error.

Have been stuck on this for weeks now.

Can't install build to device
 
 
Q