1

Suddenly I've started to get this error LaunchServiceError

If I rename the main folder say from ProjectA to ProjectB then the LaunchServiceError goes away, as soon as I name it back to the original folder name, the error returns.

Any ideas please?

  • Possible duplicate of [An error was encountered while running (Domain = LaunchServicesError, Code = 0)](http://stackoverflow.com/questions/25632886/an-error-was-encountered-while-running-domain-launchserviceserror-code-0) – Jeremy Huddleston Sequoia May 12 '16 at 18:51
  • See my response in http://stackoverflow.com/questions/25632886/an-error-was-encountered-while-running-domain-launchserviceserror-code-0/26129829#26129829 and provide more information if you need help. – Jeremy Huddleston Sequoia May 12 '16 at 18:51

1 Answers1

0

Based on the error my guess is that you're not opening Xcode Instruments in the recommended ways:

https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/LaunchingInstruments.html

Basically always make sure you launch it through Xcode (or an Xcode application menu by right clicking on the Xcode icon, etc). As well, make sure to always save your .trace file using Save As in Instruments, so that you can ensure it's saved with a unique name.