In my case device had no free memory left on device to install new build.
no free memory
I could run the build unless uninstalling previous app.
Even running the build from XCode did not show this as error reson.