[XCODE 12.5] A valid provisioning profile for this executable was not found.

Hi,

i have an error during the app installation on my device (it works on simulator). The first installation of the application is ok on the device, but I have this error on the following installations.

Unable to install "***" Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620395

A valid provisioning profile for this executable was not found. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402620395

...

System Information macOS Version 11.3.1 (Build 20E241) Xcode 12.5 (18205) (Build 12E262) Timestamp: 2021-07-15T11:15:10+02:00

I have to clean the build folder between each run, so that the installation is done correctly.

Do you have a solution to this problem?

Same issue with Xcode 12.5.1...

Were you able to fix this? Seeing the same issue all day today no matter what I've tried. Cleaning the build folder doesn't even fix it for me.

Same issue for me with XCode 13.3(.1) and 13.4 too. Only first installation of the app is ok on real device, but this error on all following installations. P.S. With XCode 13.2.1, this issue goes away.

[XCODE 12.5] A valid provisioning profile for this executable was not found.
 
 
Q