问题
The apple watchkit app is not launching on simulator. After renaming target always getting the message "The operation couldn't be completed. (LaunchServicesError error 0.)".
回答1:
Another reason for this, is to have two different targets of WatchKit App in the same project. Attached capture from Console.app:
回答2:
Be sure you didn't change anything in WatchApp plist file. You should have same bundle identifier (with .watchkitapp suffix) and WKCompanionAppBundleIdentifier. And same for WatchAppExtension plist file.
BTW, I had a great problem, because we use many custom keys in plist, and you are not allowed to add them in WatchApp plist file it will cause the error.
P.S. Try launching it one the device it will show another error for sure!
来源:https://stackoverflow.com/questions/29516284/the-apple-watchkit-app-showing-error-the-operation-couldnt-be-completed-laun