Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7.3 The operation couldn't be completed (LaunchServicesError error 0)

Tags:

xcode

ios

I've updated to Xcode 7.3 yesterday and can't really use the simulator since then. I always get this error as soon as I want to start to the app. When I deinstall the app on the simulator, everything works great. But that can't be a solution. This would take to long. I have also tried different simulators. On the iPhone itself it worked. I changed nothing since the upgrade

like image 219
user2529173 Avatar asked May 02 '16 11:05

user2529173


2 Answers

May be it's because CFBundleVersion key/value pair in app's Info.plist.

If your app's Info.plist does not contain a valid CFBundleVersion key/value pair.

doing a "Reset Contents & Settings" will work, would be better to set an appropriate CFBundleVersion in the Info.plist.

you can check more error info in ~/Library/Logs/CoreSimulator/CoreSimulator.log for error details also, more information about the problem in the simulated device's system log ~/Library/Logs/CoreSimulator/[Device UDID]/system.log.

For more detail check here: https://stackoverflow.com/a/26129829/5575752

like image 79
Ronak Chaniyara Avatar answered Mar 11 '23 09:03

Ronak Chaniyara


"Reset Content and Settings" from iOS Simutalor menu options and launching simulator after Quitting may solve your issue.

In my case, Cleaning the build folder resolved the issue for me. I hope it helps someone!

(While holding down the Alt-key: Product > Clean build folder)

https://stackoverflow.com/a/31155562/2564720

like image 25
Nico Avatar answered Mar 11 '23 08:03

Nico