Xcode 6.2 watchkit 示例应用程序无法启动."操作无法完成.(LaunchServicesError 错误 0.) [英] Xcode 6.2 watchkit sample app doesn't start. "The operation couldn’t be completed. (LaunchServicesError error 0.)

查看:55
本文介绍了Xcode 6.2 watchkit 示例应用程序无法启动."操作无法完成.(LaunchServicesError 错误 0.)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

watchkit 示例应用未启动.

The watchkit sample app didn't start.

消息是无法完成操作.(LaunchServicesError 错误 0.)".

The message was "The operation couldn’t be completed. (LaunchServicesError error 0.)".

示例应用程序是WatchKitCatalogUsingWatchKitInterfaceElements",它是我从 Apple Developer 库中获取的.

The sample app is "WatchKitCatalogUsingWatchKitInterfaceElements", which I got from the Apple Developer library.

我尝试重置 iOS 模拟器的内容和设置.
任何想法将不胜感激.

I tried to reset the contents and settings of the iOS simulator.
Any ideas would be greatly appreciated.

推荐答案

您的手表扩展程序和应用程序的包标识符必须与您的 iOS 应用程序的原始包标识符相关.如果你有com.yourCompany.yourApp"作为包标识符,你的扩展必须是com.yourCompany.yourApp.watchkitextension"和手表应用com.yourCompany.yourApp.watchkitapp"否则你会得到这个令人困惑的错误.

The bundle identifier of your watch extension and app have to be related to your iOS apps original bundle identifier. If you have "com.yourCompany.yourApp" as bundle identifier your extension has to be "com.yourCompany.yourApp.watchkitextension" and the watch app "com.yourCompany.yourApp.watchkitapp" Otherwise you get this confusing error.

这篇关于Xcode 6.2 watchkit 示例应用程序无法启动."操作无法完成.(LaunchServicesError 错误 0.)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆