Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)
Solution 1:
"Reset Content and Settings" from iOS Simutalor menu options and launching simulator after Quitting solved my issue.
Solution 2:
Cleaning the build folder resolved the issue for me. I hope it helps someone!
(While holding down the Alt-key: Product > Clean build folder)
Solution 3:
I tried every other solution listed here. Well, I ported my project from Swift 1.2 to Swift 2.0. The application was stuck even after a lot debugging and launch services error 0 was reported.
solution: It happens because of framework compilation.
App target -> Build Phases -> Embed Frameworks.
So mark copy only when installing on. Clean the project and run it!