Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
armanb21
848 PointsAn error was encountered while running (Domain = LaunchServicesError, Code = 0)
Hi,
I get this error when I try to run my app in the simulator. The error is this: An error was encountered while running (Domain = LaunchServicesError, Code = 0). I tried to change the name of the app and this happened. If you need anything else let me know.
I appreciate any help,
Arman
Attachments: An error was encountered while running (Domain = LaunchServicesError, Code = 0)
2 Answers
agreatdaytocode
24,757 PointsOK, Try iOS Simulator > Reset Contents and Settings.
armanb21
848 PointsHi Aaron Ackerman , That doesn't seem to work either as I get the same error.
Thanks for your help, Arman
agreatdaytocode
24,757 PointsTry running through the list of options here
armanb21
848 PointsHi Aaron Ackerman,
I tried cleaning the product and it didn't do anything it still gave the same error of:
Unable to run app in Simulator An error was encountered while running (Domain = LaunchServicesError, Code=0) . I also tried to change the name back to what it use to be in the Info file. Which you can see at postimg.org/image/erieubblp/
Thanks for your help, Arman
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsGo up to product > Clean. I would also suggest that you reset the name to the orignial text.