简体   繁体   中英

Open a web page in the Apple Watch simulator

watchOS 5 allows to open a web page from Mail or Messages, but these apps are not present in the Simulator.

I tried using xcrun simctl openurl <device> <URL> , which works with an iPhone simulator, but with a Watch returns an error:

An error was encountered processing the command (domain=NSOSStatusErrorDomain, code=-10814):
The operation couldn't be completed. (OSStatus error -10814.)

This error means “No application in the Launch Services database matches the input criteria.”

Is there a way to open a web page in an Apple Watch simulator?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM