Question: Just after switching from Xcode 10 to 11, I am unable to install my app on any device

The error at launch time after installation succeeded says : 
Install claimed to have succeeded, but application could not be found on device.

Details says : 

Could not locate installed application
Domain: com.apple.platform.iphoneos
Code: -1
Recovery Suggestion: Install claimed to have succeeded, but application could not be found on device. bundleId = myBundleId

--
Installed application was not present in database of installed apps after multiple lookup attempts.
Domain: com.apple.platform.iphoneos

Code: -1
--------

However everything works fine on a simulator.
I tried to delete derived data, clean project, delete the app .. 

Very strange : After submitting the app to testlfight I can download it and it works.
But when I build a new app to Xcode it launch the app just downloaded from tesflight and not the version pushed via Xcode ..

Answer: 
I also had this issue/error message. I realized that I had automatic signing deactivated and I had selected a provisioning profil with a **distribution** certificate. 

**Solution:**
So if you want to run the app on your iphone directly from Xcode (not through testflight) you have to make sure you use a provisioning profil with a **developer** certificate.
Update pods if you have.

```
pod update

```

just it.