In Xcode 6.3, I got this error when trying to run an iOS project written in Swift on a real device.
App installation failed
c
My issue was an embedded framework.
Go to "Build Phases" -> "Embed Frameworks" -> Check "Copy only when installing", and it got rid of the issue for me.
I was having the same error, i just deleted the project and fixed!
Go to Window -> Project and right click, and remove from projects!
One reason this can happen is if your app bundle contains broken symlinks.
For me the following did not work on iOS 11 beta 10, XCode 9 beta 6:
Deleted Derived Data and voilá, it worked again
In the case of your device have an app with the same bundle identifier, Xcode will throw this error. Try to delete potential app with the same bundle identifier.
Also this the error shown if your machine running Xcode is low on space.