'App installation failed. An unknown error has occurred.' Is displayed when debugging iPhone with Xcode
What happened
“App installation failed. An unknown error has occurred.” is displayed and can not be executed when running an application under creation using MacBook Pro (2017) + Xcode 8.3 on iPhone. Before this message, Xcode worked fine, but suddenly I could not debug.

How did I solve it?
It was not solved by the following method.
- Remove app on iPhone
- Xcode cache deletion
- mac restart
- Restart iPhone
The error message was ** An unknown error has occurred. **. In such a case, we are suspected of device malfunction. I removed the USB type-C HUB once and tried it on.

** This device seemed to be the cause **, so you can transfer applications to iPhone and debug with Xcode. I lost a hour of time …
Additional Information
ios - Xcode 8 App installation failed, unknown error occured - Stack Overflow
ios - Xcode 8 App installation failed, unknown error occured - Stack Overflow