Today I had the same error while installing an app to my device.
The problem occurred after I updated to the new xCode 11.4.
What I did to fix the issue:
- Unpaired device (Xcode > Window > Devices And Simulators > Left click device to unpair device.
- Restart iPhone
- Clean Build Folder (Xcode > Product > Clean Build Folder)
- Clean Derived Data (in ../library/Developer/Xcode/DerivedData)
- Clean Build Folder again (Xcode > Product > Clean Build Folder)
- Build app on device.