【发布时间】:2019-04-09 18:11:49
【问题描述】:
watchOS 5 允许从邮件或消息打开网页,但这些应用程序不存在于模拟器中。
我尝试使用xcrun simctl openurl <device> <URL>,它适用于 iPhone 模拟器,但使用 Watch 返回错误:
An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn't be completed. (OSStatus error -10814.)
This error means“启动服务数据库中没有应用程序符合输入条件。”
有没有办法在 Apple Watch 模拟器中打开网页?
【问题讨论】:
标签: ios ios-simulator watchkit apple-watch